PlaytimeOptions

@objcMembers
public final class PlaytimeOptions : NSObject, Sendable

The options passed to Playtime methods.

  • Provide SDK hash if you prefer manual control instead of automatic initialization. Whenever the SDK hash is provided, the SDK will be reinitialized and use the new hash for all sebsequent requests.

    Declaration

    Swift

    public let sdkHash: String?
  • A custom identifier you must assign to each user.

    Declaration

    Swift

    public let userId: String?
  • User profile for targeting.

    Declaration

    Swift

    public let userProfile: PlaytimeUserProfile?
  • User acquisition parameters.

    Declaration

    Swift

    public let params: PlaytimeParams?
  • Extension IDs visible in S2S payouts.

    Declaration

    Swift

    public let extensions: PlaytimeExtensions?