SpatialAnchorTransferManager.RequestAccessAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
要求應用程式存取權以匯出或匯入空間錨點。 這需要 spatialPerception 功能。
public:
static IAsyncOperation<SpatialPerceptionAccessStatus> ^ RequestAccessAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<SpatialPerceptionAccessStatus> RequestAccessAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
static IAsyncOperation<SpatialPerceptionAccessStatus> RequestAccessAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<SpatialPerceptionAccessStatus> RequestAccessAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<SpatialPerceptionAccessStatus> RequestAccessAsync();
function requestAccessAsync()
Public Shared Function RequestAccessAsync () As IAsyncOperation(Of SpatialPerceptionAccessStatus)
傳回
一旦使用者完成任何同意對話方塊,就會觸發的作業,並提供存取狀態。
- 屬性
Windows 需求
應用程式功能 |
spatialPerception
|