Udostępnij za pośrednictwem


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 ref class AppBroadcastCameraCaptureStateChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppBroadcastCameraCaptureStateChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppBroadcastCameraCaptureStateChangedEventArgs
Public NotInheritable Class AppBroadcastCameraCaptureStateChangedEventArgs
Inheritance
Object Platform::Object IInspectable AppBroadcastCameraCaptureStateChangedEventArgs
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Media.Capture.AppBroadcastContract (introduced in v1.0)
App capabilities
appBroadcast appBroadcastSettings

Properties

ErrorCode

Gets the error code associated with the event.

State

Gets a value that indicates the new state of the app broadcast camera capture.

Applies to