PlaytimeParamsBuilder

@objcMembers
public final class PlaytimeParamsBuilder : NSObject

Use this builder to create an immutable instance of PlaytimeParam.

  • Set user acquisition network where the user came from.

    Declaration

    Swift

    public func setUANetwork(_ uaNetwork: String?) -> PlaytimeParamsBuilder
  • Set user acquisition channel where the user came from; e.g. video, offerwall.

    Declaration

    Swift

    public func setUAChannel(_ uaChannel: String?) -> PlaytimeParamsBuilder
  • Set user acquisition sub ID in encrypted form where the user came from.

    Declaration

    Swift

    public func setUASubPublisherEncrypted(_ uaSubPublisherEncrypted: String?) -> PlaytimeParamsBuilder
  • Set user acquisition sub ID in clear text where the user came from.

    Declaration

    Swift

    public func setUASubPublisherCleartext(_ uaSubPublisherCleartext: String?) -> PlaytimeParamsBuilder
  • Set placement of the Playtime experience; e.g. “home screen”, “more options menu”.

    Declaration

    Swift

    public func setPlacement(_ placement: String?) -> PlaytimeParamsBuilder
  • Build immutable PlaytimeParams.

    Declaration

    Swift

    public func build() -> PlaytimeParams