Freigeben über


PerceptionInfraredFrameSource.RequestAccessAsync Methode

Definition

Fordert den Zugriff auf die Verwendung von Infrarotrahmenquellen an.

public:
 static IAsyncOperation<PerceptionFrameSourceAccessStatus> ^ RequestAccessAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<PerceptionFrameSourceAccessStatus> RequestAccessAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource.RequestAccessAsync may be unavailable after Windows Creator Update.  Please refer to Windows.Media.Capture.Frames APIs on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<PerceptionFrameSourceAccessStatus> RequestAccessAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<PerceptionFrameSourceAccessStatus> RequestAccessAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource.RequestAccessAsync may be unavailable after Windows Creator Update.  Please refer to Windows.Media.Capture.Frames APIs on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<PerceptionFrameSourceAccessStatus> RequestAccessAsync();
function requestAccessAsync()
Public Shared Function RequestAccessAsync () As IAsyncOperation(Of PerceptionFrameSourceAccessStatus)

Gibt zurück

Nach Abschluss dieser Methode wird asynchron ein PerceptionFrameSourceAccessStatus zurückgegeben, der das Ergebnis der Zugriffsanforderung angibt.

Attribute

Gilt für: