Compartilhar via


PerceptionColorFrameSource.RequestAccessAsync Método

Definição

Solicita acesso para usar fontes de quadro de cores.

public:
 static IAsyncOperation<PerceptionFrameSourceAccessStatus> ^ RequestAccessAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<PerceptionFrameSourceAccessStatus> RequestAccessAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameSource.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("PerceptionColorFrameSource.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)

Retornos

Quando esse método é concluído, ele retorna de forma assíncrona um PerceptionFrameSourceAccessStatus indicando o resultado da solicitação de acesso.

Atributos

Aplica-se a