Skip to main content
Version: SDK 5.0.x

SDKBuilder

public protocol SDKBuilder

set(logger:)

func set(logger: Logger) -> Self

set(...)

func set(trackingId: String, trackingProvider: String) throws -> Self

set(userId:)

func set(userId: String) throws -> Self

set(firebaseAppInstanceId:)

func set(firebaseAppInstanceId: String) throws -> Self

set(enableFirebaseIntegration:)

func set(enableFirebaseIntegration: Bool) -> Self

set(...)

func set(enableIronSourceIntegration: Bool, userIdSource: UserIdSource) -> Self

set(inactivityTimeFrameHours:)

func set(inactivityTimeFrameHours: Int) -> Self

set(reAttributionTimeFrameDays:)

func set(reAttributionTimeFrameDays: Int) -> Self

set(reFetchReAttributionDelaySeconds:)

func set(reFetchReAttributionDelaySeconds: Int) -> Self

set(attributionRetryDelaySeconds:)

func set(attributionRetryDelaySeconds: Int) -> Self

set(automaticInAppPurchaseTracking:)

func set(automaticInAppPurchaseTracking: Bool) -> Self

set(platformType:)

func set(platformType: PlatformType) -> Self

set(manualStart:)

func set(manualStart: Bool) -> Self

build()

Create a new instance of the justtrack SDK. This method can only be called from the main thread.

func build() throws -> JustTrackSdk