# ResultCallback

fun interface ResultCallback

How a sharing session ended. Always invoked on the main thread, and it can arrive after the hosting Activity is destroyed, so write it defensively. Should be a stable reference.

## Functions

| Name | Summary |
|---|---|
| [onResult](/developers/references/android/id-frak-sdk-ui/fraksharing/resultcallback/onresult/) | abstract fun [onResult](/developers/references/android/id-frak-sdk-ui/fraksharing/resultcallback/onresult/)(result: [SharingResult](/developers/references/android/id-frak-sdk-ui/sharingresult/)) |