Aller au contenu

SharingRequest

Ce contenu n’est pas encore disponible dans votre langue.

class SharingRequest

What to share; passed to buildSharingLink or to the sheet. Build with Builder, or SharingRequest { } from Kotlin.

NameSummary
Builderclass Builder
NameSummary
attributionval attribution: AttributionParams?
linkval link: String?
Falls back to the merchant’s homepageLink, then id.frak.sdk.core.FrakMetadata.homepageLink.
logoUrlval logoUrl: String?
placementval placement: String?
Which configured placement’s copy to render, e.g. product-page. Accepted but not yet acted on.
productsval products: List<SharingProduct>
shareImageUrlval shareImageUrl: String?
Highest-precedence override for the OS share sheet’s preview image. iOS only; Android ships no preview.
shareTextval shareText: String?
Highest-precedence override for the OS share sheet’s body text.
shareTitleval shareTitle: String?
Highest-precedence override for the OS share sheet’s title.
targetInteractionval targetInteraction: String?