Warning
This feature is available in the Full MapKit SDK version
MMKSearchPhone
@interface MMKSearchPhone : NSObject |
Organization phone.
Summary
Class methods
+ (nonnull MMKSearchPhone *)phoneWithType:( MMKSearchPhoneType)type |
Properties
@property (nonatomic, readonly) MMKSearchPhoneType type; |
@property (nonatomic, readonly, nonnull) NSString *formattedNumber; |
@property (nonatomic, readonly, nullable) NSString *info; |
@property (nonatomic, readonly, nullable) NSString *country; |
@property (nonatomic, readonly, nullable) NSString *prefix; |
@property (nonatomic, readonly, nullable) NSString *ext; |
@property (nonatomic, readonly, nullable) NSString *number; |
Class methods
phoneWithType:formattedNumber:info:country:prefix:ext:number:
+ (nonnull MMKSearchPhone *)phoneWithType:( MMKSearchPhoneType)type |
Properties
type
@property (nonatomic, readonly) MMKSearchPhoneType type; |
Phone type.
formattedNumber
@property (nonatomic, readonly, nonnull) NSString *formattedNumber; |
Full phone number as human readable string.
info
@property (nonatomic, readonly, nullable) NSString *info; |
Some additional info to differentiate multiple phones for single organization.
Optional field, can be nil.
country
@property (nonatomic, readonly, nullable) NSString *country; |
Phone country code.
Optional field, can be nil.
prefix
@property (nonatomic, readonly, nullable) NSString *prefix; |
Phone prefix.
Optional field, can be nil.
ext
@property (nonatomic, readonly, nullable) NSString *ext; |
Phone extension.
Optional field, can be nil.
number
@property (nonatomic, readonly, nullable) NSString *number; |
Phone number.
Optional field, can be nil.