SpatialAnchorExporter.RequestAccessAsync SpatialAnchorExporter.RequestAccessAsync SpatialAnchorExporter.RequestAccessAsync SpatialAnchorExporter.RequestAccessAsync SpatialAnchorExporter.RequestAccessAsync Method

Definition

Requests access for an app to export spatial anchors. This requires the spatialPerception capability.

public : static IAsyncOperation<SpatialPerceptionAccessStatus> RequestAccessAsync()
static IAsyncOperation<SpatialPerceptionAccessStatus> RequestAccessAsync() const;
public static IAsyncOperation<SpatialPerceptionAccessStatus> RequestAccessAsync()
Public Shared Function RequestAccessAsync() As IAsyncOperation(Of SpatialPerceptionAccessStatus)
Windows.Perception.Spatial.SpatialAnchorExporter.requestAccessAsync().done( /* Your success and error handlers */ );

Returns

Operation that triggers once the user has completed any consent dialog, providing the access status.

Additional features and requirements

Capabilities
spatialPerception