Skip to main content
←API Reference ←com.nianticspatial.nsdk.recording ←RecordingExporter

export


Declaration​

suspend fun export( scanDirPath: String, scanId: String, userData: Map<String, Any>? = null, exportAsVideo: Boolean = true, exportResolution: ExportResolution = ExportResolution.HIGH, timeoutMillis: Long = TIMEOUT_MS, onProgress: ((Float) -> Unit)? = null ): AsyncResult<String, Nothing>

Summary​

Asynchronously exports a scan recording.


This function suspends execution until the export operation is complete,
has failed, or has timed out.

Returns​

An AsyncResult which will be either AsyncResult.Success containing the path to the exported file, or AsyncResult.Timeout.