launch

abstract fun launch(file: PlatformFile)(source)

Shares a file that is already resolved, such as one a picker or a saver handed back.


abstract fun launch(output: MediaSink)(source)

Shares whatever an export wrote, on the arm it reported.

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.