Partager via


XRAnchorTransferBatch.ImportAsync(Stream) Method

Definition

Imports the provided Stream into an XRAnchorTransferBatch.

public static System.Threading.Tasks.Task<Microsoft.MixedReality.OpenXR.XRAnchorTransferBatch> ImportAsync (System.IO.Stream inputStream);
static member ImportAsync : System.IO.Stream -> System.Threading.Tasks.Task<Microsoft.MixedReality.OpenXR.XRAnchorTransferBatch>
Public Shared Function ImportAsync (inputStream As Stream) As Task(Of XRAnchorTransferBatch)

Parameters

inputStream
Stream

The streamed data representing the result of a call to ExportAsync(XRAnchorTransferBatch). This stream must be readable.

Returns

A task which, when completed, will contain the resulting XRAnchorTransferBatch, or null if the import was unsuccessful.

Applies to