Traits
Undocumented
-
An Int value representing age of user.
Declaration
Swift
public var age : Int? = -1 -
An enum value of GENDER supports values (.MALE,.FEMALE,.OTHER)
Declaration
Swift
public var gender : GENDER? -
emailID of user
Declaration
Swift
public var email : String? -
String representing user network
Declaration
Swift
public var network : String? -
String name of user
Declaration
Swift
public var name : String? -
String value representing registration Status of user.
Declaration
Swift
public var status : String? -
String value representing UserID of user.
Declaration
Swift
public var id : String? -
A [String : String] dictionary representing custom user prfile informations.
Declaration
Swift
public var customTraits : [String : String]? -
Undocumented
-
Initialize method for Traits
Declaration
Swift
public init(id : String? = nil , name : String? = nil , email : String? = nil , gender : GENDER? = nil , age : Int? = nil , status : String? = nil , phoneNumber : String? = nil, // city : String? = nil , // country : String? = nil , network : String? = nil , customTraits : [String : String]? = nil)Parameters
ageAn Int value representing age of user.
genderAn enum value of GENDER supports values (.MALE,.FEMALE,.OTHER)
countryString representing user country name
cityString representing user city name
networkString representing user network
nameString name of user
statusString value representing registration Status of user.
idString value representing UserID of user.
customTraitsA [String : String] dictionary representing custom user prfile informations.
Traits Class Reference