SharingResult
sealed interface SharingResult
How a sharing session ended. A session can produce several; the callback reports only the most significant: walletOpened > install > shared/copied > dismissed.
Inheritors
Section titled “Inheritors”| Shared |
| Copied |
| InstallStarted |
| WalletOpened |
| Dismissed |
| Failed |
| Name | Summary |
|---|---|
| Copied | class Copied(val link: String) : SharingResult |
| Dismissed | object Dismissed : SharingResult |
| Failed | class Failed(val error: FrakError) : SharingResult |
| InstallStarted | object InstallStarted : SharingResult The user asked to install; the sheet took them to the wallet’s install page, or to the store with no identity to hand it. Informational only — do not call id.frak.sdk.AppLinkApi.openFrakApp again in response, and it doesn’t mean anything was installed. |
| Kind | enum Kind : Enum<SharingResult.Kind> |
| Shared | class Shared(val link: String) : SharingResult |
| WalletOpened | object WalletOpened : SharingResult The wallet was already installed and id.frak.sdk.AppLinkApi.openFrakApp opened it. |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| kind | abstract val kind: SharingResult.Kind Stable discriminator, one per arm. A when over Kind with an else survives a new arm; a when over the hierarchy does not. Kind.wireValue is spelled identically on iOS. |