launch

fun ShareResultLauncher.launch(output: MediaSink)(source)

Shares whatever an export wrote, on the arm it reported, for a caller already holding FileKit's launcher.

Throws

on MediaSink.Temporary, which is a request rather than a location. Read the resolved path off ExportStatus.Success.output instead.

on a MediaSink.Uri this platform cannot parse.