UserProperties

public struct UserProperties : Equatable

User properties configuration object

  • The current user’s unique identifier

    Declaration

    Swift

    public let userId: String?
  • The current user’s custom properties

    Declaration

    Swift

    public let customProperties: CustomProperties
  • Creates a new UserProperties instance.

    Declaration

    Swift

    public init(userId: String? = nil, customProperties: CustomProperties = CustomProperties())

    Parameters

    userId

    An Id that uniquely identifies a user on your app. This value is optional and not mandatory.

    customProperties

    A CustomProperties object with additional properties you can provide.