Skip to content

id.frak.sdk.sharing

NameSummary
AttributionParamsclass 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.
FrakContextsealed 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.
SharingProductclass SharingProduct
One product to advertise on the sharing sheet. Build with Builder, or SharingProduct(title, link) { } from Kotlin.
SharingRequestclass SharingRequest
What to share; passed to buildSharingLink or to the sheet. Build with Builder, or SharingRequest { } from Kotlin.
NameSummary
AttributionParamsfun AttributionParams(configure: AttributionParams.Builder.() -> Unit): AttributionParams
Kotlin sugar over AttributionParams.Builder.
SharingProductfun 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.
SharingRequestfun SharingRequest(configure: SharingRequest.Builder.() -> Unit): SharingRequest
Kotlin sugar over SharingRequest.Builder.