Anchor Exporter. Try Export Anchor Async Method
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 a spatial anchor to a stream for sharing or relocalization. This allows multiple devices to reason about the same locations in their users' surroundings.
public: virtual IAsyncOperation<bool> ^ TryExportAnchorAsync(SpatialAnchor ^ anchor, SpatialAnchorExportPurpose purpose, IOutputStream ^ stream) = TryExportAnchorAsync;
/// [Windows.Foundation.Metadata.RemoteAsync] IAsyncOperation<bool> TryExportAnchorAsync(SpatialAnchor const& anchor, SpatialAnchorExportPurpose const& purpose, IOutputStream const& stream);
[Windows.Foundation.Metadata.RemoteAsync] public IAsyncOperation<bool> TryExportAnchorAsync(SpatialAnchor anchor, SpatialAnchorExportPurpose purpose, IOutputStream stream);
function tryExportAnchorAsync(anchor, purpose, stream)
Public Function TryExportAnchorAsync (anchor As SpatialAnchor, purpose As SpatialAnchorExportPurpose, stream As IOutputStream) As IAsyncOperation(Of Boolean)
The spatial anchor to export.
The purpose of the export, sharing or relocalization.
The stream to export the anchor to.
Operation that triggers once the export has been attempted, providing true if the export succeeded; otherwise, false.
Submit and view feedback for