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

    name

    Name of user

    email

    The user’s e-mail

    plan

    The plan for the user

    location

    Location data about the user

    properties

    Properties of the user profile

  • Location specific data

    Declaration

    Swift

    public typealias Location = UserProfileLocation
  • Declaration

    Swift

    public var customProperties: [String : UserProfilePropertyValue]? { get }