PlaytimeOptionsBuilder
@objcMembers
public final class PlaytimeOptionsBuilder : NSObject
Use this builder to create an immutable instance of PlaytimeOptions.
-
Set a hash that the SDK will be forced to use.
Declaration
Swift
public func setSDKHash(_ sdkHash: String) -> Self -
Set a custom identifier you can assign to each user.
Declaration
Swift
public func setUserId(_ userId: String) -> Self -
Set user profile for targeting.
Declaration
Swift
public func setUserProfile(_ userProfile: PlaytimeUserProfile?) -> Self -
Set user acquisition parameters.
Declaration
Swift
public func setParams(_ params: PlaytimeParams?) -> Self -
Set extension IDs visible in S2S payouts.
Declaration
Swift
public func setExtensions(_ extensions: PlaytimeExtensions?) -> Self -
Build the immutable
PlaytimeOptionsobject.Declaration
Swift
public func build() -> PlaytimeOptions
PlaytimeOptionsBuilder Class Reference