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.

C#
[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
Inheritance
Object 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

Product Versions
WinRT Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100