AnalyticsUserProfile
public struct AnalyticsUserProfile
extension AnalyticsUserProfile: UserProfile
User specific data
-
Name of the user
Declaration
Swift
public var name: String? -
The user’s email
Declaration
Swift
public var email: String? -
The plan for the user
Declaration
Swift
public var plan: String? -
Location data about the user
Declaration
Swift
public var location: Location? -
Properties of the user profile
Declaration
Swift
public var properties: AnalyticsProperties? -
Initializer
Declaration
Swift
public init( name: String? = nil, email: String? = nil, plan: String? = nil, location: Location? = nil, properties: AnalyticsProperties? = nil )Parameters
nameName of user
emailThe user’s e-mail
planThe plan for the user
locationLocation data about the user
propertiesProperties of the user profile
-
Location specific data
Declaration
Swift
typealias Location = UserProfileLocation -
Declaration
Swift
public var customProperties: [String : UserProfilePropertyValue]? { get }
View on GitHub