MapKit Mobile SDK

Warning

This feature is available in the Full MapKit SDK version

MMKSearchPhone

class MMKSearchPhone : NSObject

Organization phone.

Summary

Class methods

 init(type: MMKSearchPhoneType,
 formattedNumber: String,
      info: String?,
   country: String?,
    prefix: String?,
       ext: String?,
    number: String?)

Properties

var typeMMKSearchPhoneType { get }
Phone type

var formattedNumber: String { get }
Full phone number as human readable string

var info: String? { get }
Some additional info to differentiate multiple phones for single organization

var country: String? { get }
Phone country code

var prefix: String? { get }
Phone prefix

var ext: String? { get }
Phone extension

var number: String? { get }
Phone number

Class methods

init(type:formattedNumber:info:country:prefix:ext:number:)

 init(type: MMKSearchPhoneType,
 formattedNumber: String,
      info: String?,
   country: String?,
    prefix: String?,
       ext: String?,
    number: String?)


Properties

type

var type: MMKSearchPhoneType { get }

Phone type.


formattedNumber

var formattedNumber: String { get }

Full phone number as human readable string.


info

var info: String? { get }

Some additional info to differentiate multiple phones for single organization.

Optional field, can be nil.


country

var country: String? { get }

Phone country code.

Optional field, can be nil.


prefix

var prefix: String? { get }

Phone prefix.

Optional field, can be nil.


ext

var ext: String? { get }

Phone extension.

Optional field, can be nil.


number

var number: String? { get }

Phone number.

Optional field, can be nil.