AppBroadcastCameraCaptureStateChangedEventArgs
AppBroadcastCameraCaptureStateChangedEventArgs
AppBroadcastCameraCaptureStateChangedEventArgs
AppBroadcastCameraCaptureStateChangedEventArgs
Class
Definition
Provides data for the AppBroadcast.CameraCaptureStateChanged event.
Note
This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.
public : sealed class AppBroadcastCameraCaptureStateChangedEventArgs : IAppBroadcastCameraCaptureStateChangedEventArgspublic sealed class AppBroadcastCameraCaptureStateChangedEventArgs : IAppBroadcastCameraCaptureStateChangedEventArgsPublic NotInheritable Class AppBroadcastCameraCaptureStateChangedEventArgs Implements IAppBroadcastCameraCaptureStateChangedEventArgs// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppBroadcastContract (introduced v1)
|
| Capabilities |
appBroadcastSettings
appBroadcast
|
Properties
ErrorCode ErrorCode ErrorCode ErrorCode
Gets the error code associated with the event.
public : unsigned int ErrorCode { get; }public uint ErrorCode { get; }Public ReadOnly Property ErrorCode As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The error code associated with the event.
Additional features and requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppBroadcastContract (introduced v1)
|
| Capabilities |
appBroadcastSettings
appBroadcast
|
State State State State
Gets a value that indicates the new state of the app broadcast camera capture.
public : AppBroadcastCameraCaptureState State { get; }public AppBroadcastCameraCaptureState State { get; }Public ReadOnly Property State As AppBroadcastCameraCaptureState// You can use this property in JavaScript.
- Value
- AppBroadcastCameraCaptureState AppBroadcastCameraCaptureState AppBroadcastCameraCaptureState AppBroadcastCameraCaptureState
A value that indicates the new state of the app broadcast camera capture.
Additional features and requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppBroadcastContract (introduced v1)
|
| Capabilities |
appBroadcastSettings
appBroadcast
|