Share via


PerceptionInfraredFrameSource.AcquireControlSession Method

Definition

Attempts to acquire Controller Mode on the infrared frame source.

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

Returns

If the attempt is successful, this returns a PerceptionControlSession object that can be used to control properties of the infrared frame source. Otherwise, this returns null.

Attributes

Applies to