PerceptionColorFrameSource.AcquireControlSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to acquire Controller Mode on the color frame source.
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
Returns
If the attempt is successful, this returns a PerceptionControlSession object that can be used to control properties of the color frame source. Otherwise, this returns null.
- Attributes