id.frak.sdk.sharing
| Name | Summary |
|---|---|
| AttributionParams | class AttributionParams Per-call attribution overrides for a share link’s UTM parameters, merged over the merchant-level AttributionDefaults field by field. Build with Builder, or AttributionParams { } from Kotlin. |
| FrakContext | sealed interface FrakContext Referral context carried in a share link’s fCtx: who shared, for which merchant, and when. Two layouts live on the wire with genuinely different information, hence sealed rather than nullable fields on one type. |
| SharingProduct | class SharingProduct One product to advertise on the sharing sheet. Build with Builder, or SharingProduct(title, link) { } from Kotlin. |
| SharingRequest | class SharingRequest What to share; passed to buildSharingLink or to the sheet. Build with Builder, or SharingRequest { } from Kotlin. |
Functions
Section titled “Functions”| Name | Summary |
|---|---|
| AttributionParams | fun AttributionParams(configure: AttributionParams.Builder.() -> Unit): AttributionParams Kotlin sugar over AttributionParams.Builder. |
| SharingProduct | fun SharingProduct(title: String, link: String): SharingProduct Title and link only. fun SharingProduct(title: String, link: String, configure: SharingProduct.Builder.() -> Unit): SharingProduct Kotlin sugar over SharingProduct.Builder. |
| SharingRequest | fun SharingRequest(configure: SharingRequest.Builder.() -> Unit): SharingRequest Kotlin sugar over SharingRequest.Builder. |