exportSplitArchives
Asynchronously exports a scan recording as multiple archive files. This function suspends execution until the export operation is complete, has failed, or has timed out.
Declaration
suspend fun exportSplitArchives( scanDirPath: String, scanId: String, maxFramesPerArchive: Int, userData: Map<String, Any>? = null, exportAsVideo: Boolean = true, exportResolution: ExportResolution = ExportResolution.HIGH, timeoutMillis: Long = TIMEOUT_MS, onProgress: ((Float) -> Unit)? = null ): AsyncResult<Array<String>, Nothing>
Summary
Returns
An [AsyncResult] which will be either [AsyncResult.Success] containing the path to the exported file, or [AsyncResult.Timeout].
Asynchronously exports a scan recording as multiple archive files. This function suspends execution until the export operation is complete, has failed, or has timed out.