AppCaptureRecordOperation Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ref class AppCaptureRecordOperation 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 AppCaptureRecordOperation 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 AppCaptureRecordOperation
Public NotInheritable Class AppCaptureRecordOperation
- Inheritance
- Attributes
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
|
This API may throw an error if the background service has shut down due to idle timeout.
Duration |
Gets the duration of the recording operation. |
Error |
Gets the error code associated with the recording operation. |
File |
Gets the file associated with the recording operation. |
Is |
Gets a value indicating whether the file associated with the recording operation is truncated. |
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. |
Stop |
Stops the app capture record operation. |
Duration |
Occurs when the recording state changes due to the duration of the recording operation. |
File |
Occurs when the recording state changes due to the file associated with the recording operation. |
State |
Occurs when the state of the app capture record operation changes. |
Product | Versions |
---|---|
WinRT | Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |