AppCaptureRecordOperation
AppCaptureRecordOperation
AppCaptureRecordOperation
AppCaptureRecordOperation
Class
Definition
Represents an app capture record operation.
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 : sealed class AppCaptureRecordOperation : IAppCaptureRecordOperationpublic sealed class AppCaptureRecordOperation : IAppCaptureRecordOperationPublic NotInheritable Class AppCaptureRecordOperation Implements IAppCaptureRecordOperation// You can use this class in JavaScript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
Properties
Duration Duration Duration Duration
Gets the duration of the recording operation.
public : IReference<TimeSpan> Duration { get; }public Nullable<TimeSpan> Duration { get; }Public ReadOnly Property Duration As Nullable<TimeSpan>// You can use this property in JavaScript.
- Value
- IReference<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan>
The duration of the recording operation.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
ErrorCode ErrorCode ErrorCode ErrorCode
Gets the error code associated with the recording operation.
public : IReference<uint> ErrorCode { get; }public Nullable<uint> ErrorCode { get; }Public ReadOnly Property ErrorCode As Nullable<uint>// You can use this property in JavaScript.
- Value
- IReference<unsigned int> Nullable<uint> Nullable<uint> Nullable<uint>
The error code associated with the recording operation.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
File File File File
Gets the file associated with the recording operation.
public : StorageFile File { get; }public StorageFile File { get; }Public ReadOnly Property File As StorageFile// You can use this property in JavaScript.
The file associated with the recording operation.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
IsFileTruncated IsFileTruncated IsFileTruncated IsFileTruncated
Gets a value indicating whether the file associated with the recording operation is truncated.
public : IReference<bool> IsFileTruncated { get; }public Nullable<bool> IsFileTruncated { get; }Public ReadOnly Property IsFileTruncated As Nullable<bool>// You can use this property in JavaScript.
- Value
- IReference<PlatForm::Boolean> Nullable<bool> Nullable<bool> Nullable<bool>
True if the file is truncated; otherwise, false.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
State State State State
Gets a value specifying the current state of the app capture record operation.
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 : AppCaptureRecordingState State { get; }public AppCaptureRecordingState State { get; }Public ReadOnly Property State As AppCaptureRecordingState// You can use this property in JavaScript.
- Value
- AppCaptureRecordingState AppCaptureRecordingState AppCaptureRecordingState AppCaptureRecordingState
A value specifying the current state of the app capture record operation.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
Methods
StopRecording() StopRecording() StopRecording() StopRecording()
Stops the app capture record operation.
public : void StopRecording()public void StopRecording()Public Function StopRecording() As void// You can use this method in JavaScript.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
Events
DurationGenerated DurationGenerated DurationGenerated DurationGenerated
Occurs when the recording state changes due to the duration of the recording operation.
public : event TypedEventHandler DurationGenerated<AppCaptureRecordOperation, AppCaptureDurationGeneratedEventArgs>public event TypedEventHandler DurationGenerated<AppCaptureRecordOperation, AppCaptureDurationGeneratedEventArgs>Public Event DurationGenerated<AppCaptureRecordOperation, AppCaptureDurationGeneratedEventArgs>// You can use this event in JavaScript.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
FileGenerated FileGenerated FileGenerated FileGenerated
Occurs when the recording state changes due to the file associated with the recording operation.
public : event TypedEventHandler FileGenerated<AppCaptureRecordOperation, AppCaptureFileGeneratedEventArgs>public event TypedEventHandler FileGenerated<AppCaptureRecordOperation, AppCaptureFileGeneratedEventArgs>Public Event FileGenerated<AppCaptureRecordOperation, AppCaptureFileGeneratedEventArgs>// You can use this event in JavaScript.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
StateChanged StateChanged StateChanged StateChanged
Occurs when the state of the app capture record operation changes.
public : event TypedEventHandler StateChanged<AppCaptureRecordOperation, AppCaptureRecordingStateChangedEventArgs>public event TypedEventHandler StateChanged<AppCaptureRecordOperation, AppCaptureRecordingStateChangedEventArgs>Public Event StateChanged<AppCaptureRecordOperation, AppCaptureRecordingStateChangedEventArgs>// You can use this event in JavaScript.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|