BasicUserProfile
public struct BasicUserProfile : UserProfile
A basic implementation of UserProfile
-
Declaration
Swift
public var name: String?
-
Declaration
Swift
public var email: String?
-
Declaration
Swift
public var plan: String?
-
Declaration
Swift
public var location: UserProfileLocation?
-
Declaration
Swift
public var customProperties: [String : UserProfilePropertyValue]?
-
Initializer
Declaration
Swift
public init(name: String? = nil, email: String? = nil, plan: String? = nil, location: UserProfileLocation? = nil, customProperties: [String: UserProfilePropertyValue]? = nil)
Parameters
name
Name of user
email
The user’s e-mail
plan
The plan for the user
location
Location data about the user
customProperties
Properties of the user profile