MediaCaptureDeviceExclusiveControlStatusChangedEventArgs 类

定义

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
继承
Object Platform::Object IInspectable MediaCaptureDeviceExclusiveControlStatusChangedEventArgs
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)
应用功能
backgroundMediaRecording

属性

DeviceId

获取捕获设备的设备 ID,其控制状态已更改。

Status

获取一个值,该值指示当前应用是否可以使用 DeviceID 属性指定的捕获设备的独占控制。

适用于