id.frak.sdk
| Name | Summary |
|---|---|
| AppLinkApi | class AppLinkApi Inbound referral links and the wallet app handoff. Obtained from FrakClient.appLink. |
| ConfigApi | class ConfigApi Config resolution. Obtained from FrakClient.config. |
| Frak | object Frak Entry point. Call initialize once from Application.onCreate, then use client. |
| FrakClient | class 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. |
| FrakSdkVersion | object 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. |
| OpenAppResult | enum OpenAppResult : Enum<OpenAppResult> |
| RewardsApi | class RewardsApi Campaigns and reward selection. Obtained from FrakClient.rewards. |
| SharingApi | class SharingApi Share link construction. Obtained from FrakClient.sharing. |
| TrackingApi | class TrackingApi Interaction and purchase tracking. Obtained from FrakClient.tracking. |