Compartilhar via


PerceptionColorFrameSource.AcquireControlSession Método

Definição

Tenta adquirir o Modo do Controlador na origem do quadro de cores.

public:
 virtual PerceptionControlSession ^ AcquireControlSession() = AcquireControlSession;
PerceptionControlSession AcquireControlSession();
/// [Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
PerceptionControlSession AcquireControlSession();
public PerceptionControlSession AcquireControlSession();
[Windows.Foundation.Metadata.Deprecated("PerceptionColorFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public PerceptionControlSession AcquireControlSession();
function acquireControlSession()
Public Function AcquireControlSession () As PerceptionControlSession

Retornos

Se a tentativa for bem-sucedida, isso retornará um objeto PerceptionControlSession que pode ser usado para controlar as propriedades da origem do quadro de cores. Caso contrário, isso retornará nulo.

Atributos

Aplica-se a