Skip to content

id.frak.sdk

NameSummary
AppLinkApiclass AppLinkApi
Inbound referral links and the wallet app handoff. Obtained from FrakClient.appLink.
ConfigApiclass ConfigApi
Config resolution. Obtained from FrakClient.config.
Frakobject Frak
Entry point. Call initialize once from Application.onCreate, then use client.
FrakClientclass FrakClient
Everything the SDK can do. Obtained from Frak.client. Every suspending member has a *Async twin returning a CompletableFuture, since a Java caller cannot name a Continuation.
FrakSdkVersionobject FrakSdkVersion
Version of this SDK build, sent on every request. @JvmStatic val rather than const val: a const is inlined into the merchant’s bytecode and would report their compile-time version.
InternalFrakApi@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.CONSTRUCTOR])
annotation class InternalFrakApi
Marks a declaration that is public only so the sibling :frak-sdk-ui module can see it, with no compatibility guarantee. Wired into binary-compatibility-validator’s nonPublicMarkers, so marked types stay out of the committed .api dump.
OpenAppResultenum OpenAppResult : Enum<OpenAppResult>
RewardsApiclass RewardsApi
Campaigns and reward selection. Obtained from FrakClient.rewards.
SharingApiclass SharingApi
Share link construction. Obtained from FrakClient.sharing.
TrackingApiclass TrackingApi
Interaction and purchase tracking. Obtained from FrakClient.tracking.