rememberShareLauncher

expect fun rememberShareLauncher(onError: (FileKitDialogException) -> Unit = {}): ShareLauncher?(source)

Remembers the share sheet for this platform.

Null on every target FileKit has no share sheet for, which is the JVM and the browser. A caller hides its share control rather than showing one that cannot do anything.

Parameters

onError

Called when a share that started cannot finish.

actual fun rememberShareLauncher(onError: (FileKitDialogException) -> Unit): ShareLauncher?(source)

Remembers the share sheet for this platform.

Null on every target FileKit has no share sheet for, which is the JVM and the browser. A caller hides its share control rather than showing one that cannot do anything.

Parameters

onError

Called when a share that started cannot finish.

actual fun rememberShareLauncher(onError: (FileKitDialogException) -> Unit): ShareLauncher?(source)

Remembers the share sheet for this platform.

Null on every target FileKit has no share sheet for, which is the JVM and the browser. A caller hides its share control rather than showing one that cannot do anything.

Parameters

onError

Called when a share that started cannot finish.

actual fun rememberShareLauncher(onError: (FileKitDialogException) -> Unit): ShareLauncher?(source)

Remembers the share sheet for this platform.

Null on every target FileKit has no share sheet for, which is the JVM and the browser. A caller hides its share control rather than showing one that cannot do anything.

Parameters

onError

Called when a share that started cannot finish.