TTDetectedData Class Reference

Inherits from NSManagedObject
Declared in TTDetectedData.h

Overview

TTDetectedData represents data detected from the contents of a message.

  type

Type of data detected. For possible values, see TTDetectedMessageType.

@property (nullable, nonatomic, copy) NSNumber *type

Declared In

TTDetectedData.h

  address

NSDictionary of address components. This exists if TTDetectedData is of type TTDetectedMessageTypeAddress.

@property (nullable, nonatomic, retain) NSObject *address

Declared In

TTDetectedData.h

  url

URL string that was detected from the message. This exists if TTDetectedData is of type TTDetectedMessageTypeLink or TTDetectedMessageTypeImageLink or TTDetectedMessageTypeEmail

@property (nullable, nonatomic, copy) NSString *url

Declared In

TTDetectedData.h

  phoneNumber

Phone number string that was detected from the message. This exists if TTDetectedData is of type TTDetectedMessageTypePhoneNo

@property (nullable, nonatomic, copy) NSString *phoneNumber

Declared In

TTDetectedData.h

  rangeLocation

The location that can be used to construct a NSRange object for representing the location of the detected data within a message text.

@property (nullable, nonatomic, copy) NSNumber *rangeLocation

Declared In

TTDetectedData.h

  rangeLength

The length that can be used to construct a NSRange object for representing the location of the detected data within a message text.

@property (nullable, nonatomic, copy) NSNumber *rangeLength

Declared In

TTDetectedData.h

  message

The message to which this TTDetectedData object belongs.

@property (nullable, nonatomic, retain) TTMessage *message

Declared In

TTDetectedData.h