XRAnchorTransferBatch.ExportAsync(XRAnchorTransferBatch) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exports any anchors added via AddAnchor(TrackableId, String) into a Stream for transfer. Use ImportAsync(Stream) for reading this Stream.
public static System.Threading.Tasks.Task<System.IO.Stream> ExportAsync (Microsoft.MixedReality.OpenXR.XRAnchorTransferBatch anchorTransferBatch);
static member ExportAsync : Microsoft.MixedReality.OpenXR.XRAnchorTransferBatch -> System.Threading.Tasks.Task<System.IO.Stream>
Public Shared Function ExportAsync (anchorTransferBatch As XRAnchorTransferBatch) As Task(Of Stream)
Parameters
- anchorTransferBatch
- XRAnchorTransferBatch
The anchor transfer batch instance to export from. This instance should have had anchors added before attempting export.
Returns
A task which, when completed, will contain the exported array, or null if the export was unsuccessful.