MobilePhone
public struct MobilePhone : Hashable
Represents data related to specific mobile phone number.
-
The phone number.
Declaration
Swift
public var phoneNumber: String -
Categories associated with phone number. Note: In case
MobilePhone.categoriesare not empty, thenMobilePhone.phoneNumbershould be used according to given categories. Otherwise,MobilePhone.phoneNumberis meant for general use.Declaration
Swift
public var categories: [PlaceCategory] -
Creates a new instance.
Declaration
Swift
public init() -
Creates a new instance.
Declaration
Swift
public init(phoneNumber: String, categories: [PlaceCategory])