Dela via


AppCaptureRecordingStateChangedEventArgs Class

Definition

Provides data for the AppCaptureRecordOperation.StateChanged event.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

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

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Media.Capture.AppCaptureContract (introduced in v4.0)
App capabilities
appCaptureSettings

Properties

ErrorCode

Gets the error code associated with the event.

State

Gets the new state of the app capture recording operation.

Applies to