PerceptionInfraredFrameSource.AcquireControlSession 方法

定义

尝试获取红外帧源上的控制器模式。

public:
 virtual PerceptionControlSession ^ AcquireControlSession() = AcquireControlSession;
PerceptionControlSession AcquireControlSession();
/// [Windows.Foundation.Metadata.Deprecated("PerceptionInfraredFrameSource 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("PerceptionInfraredFrameSource 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

返回

如果尝试成功,则返回一个 PerceptionControlSession 对象,该对象可用于控制红外帧源的属性。 否则,这将返回 null。

属性

适用于