Bagikan melalui


SpatialAnchorTransferManager.RequestAccessAsync Metode

Definisi

Meminta akses bagi aplikasi untuk mengekspor atau mengimpor jangkar spasial. Ini membutuhkan kemampuan 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)

Mengembalikan

Operasi yang memicu setelah pengguna menyelesaikan dialog persetujuan apa pun, memberikan status akses.

Atribut

Persyaratan Windows

Kemampuan aplikasi
spatialPerception

Berlaku untuk