FieldType
@objc(CPAddressBookFieldType)
public enum FieldType : Int, RawRepresentable
Contains search field type keys for directory search.
Should be used when specifying search field type and sorting rule while performing search operation in directory.
Since
1.0.0-
Declaration
Swift
public typealias RawValue = String
-
Represents both firstname and lastname fields of contacts
Declaration
Swift
case name = 0
-
Represents first name field of contacts
Declaration
Swift
case firstname = 1
-
Represents last name field of contacts
Declaration
Swift
case lastname = 2
-
Represents username field of contacts
Declaration
Swift
case username = 3
-
Represents phone number field of contacts
Declaration
Swift
case phoneNumber = 4
-
Declaration
Swift
public var rawValue: RawValue { get }
-
Declaration
Swift
public init?(rawValue: RawValue)