Share via


SpatialAnchorExporter.GetAnchorExportSufficiencyAsync Method

Definition

Returns information about whether a spatial anchor's data is sufficient for sharing or relocalization.

public:
 virtual IAsyncOperation<SpatialAnchorExportSufficiency ^> ^ GetAnchorExportSufficiencyAsync(SpatialAnchor ^ anchor, SpatialAnchorExportPurpose purpose) = GetAnchorExportSufficiencyAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SpatialAnchorExportSufficiency> GetAnchorExportSufficiencyAsync(SpatialAnchor const& anchor, SpatialAnchorExportPurpose const& purpose);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SpatialAnchorExportSufficiency> GetAnchorExportSufficiencyAsync(SpatialAnchor anchor, SpatialAnchorExportPurpose purpose);
function getAnchorExportSufficiencyAsync(anchor, purpose)
Public Function GetAnchorExportSufficiencyAsync (anchor As SpatialAnchor, purpose As SpatialAnchorExportPurpose) As IAsyncOperation(Of SpatialAnchorExportSufficiency)

Parameters

anchor
SpatialAnchor

The spatial anchor that will be exported.

purpose
SpatialAnchorExportPurpose

The purpose of the export, sharing or relocalization.

Returns

The anchor's export sufficiency.

Attributes

Windows requirements

App capabilities
spatialPerception

Applies to