Dela via


MediaCaptureDeviceExclusiveControlStatusChangedEventArgs Class

Definition

public ref class MediaCaptureDeviceExclusiveControlStatusChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaCaptureDeviceExclusiveControlStatusChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaCaptureDeviceExclusiveControlStatusChangedEventArgs
Public NotInheritable Class MediaCaptureDeviceExclusiveControlStatusChangedEventArgs
Inheritance
Object Platform::Object IInspectable MediaCaptureDeviceExclusiveControlStatusChangedEventArgs
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
backgroundMediaRecording

Properties

DeviceId

Gets the device ID for the capture device for which exlusive control status has changed.

Status

Gets a value indicating whether exclusive control of the capture device specified with the DeviceID property is available to the current app.

Applies to