AppCaptureServices
AppCaptureServices
AppCaptureServices
AppCaptureServices
Class
Definition
Manages the state of app captures.
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 AppCaptureServices : IAppCaptureServicespublic sealed class AppCaptureServices : IAppCaptureServicesPublic NotInheritable Class AppCaptureServices Implements IAppCaptureServices// 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
appCaptureServices
|
Properties
CanCapture CanCapture CanCapture CanCapture
Gets a value specifying whether app capture can be performed.
public : PlatForm::Boolean CanCapture { get; }public bool CanCapture { get; }Public ReadOnly Property CanCapture As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
| 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 services.
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 : AppCaptureState State { get; }public AppCaptureState State { get; }Public ReadOnly Property State As AppCaptureState// You can use this property in JavaScript.
A value specifying the current state of the app capture services.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
Methods
Record() Record() Record() Record()
Initiates an app capture record operation.
public : AppCaptureRecordOperation Record()public AppCaptureRecordOperation Record()Public Function Record() As AppCaptureRecordOperation// You can use this method in JavaScript.
An object representing the record operation.
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppCaptureContract (introduced v4)
|
| Capabilities |
appCaptureSettings
|
RecordTimeSpan(DateTime, TimeSpan) RecordTimeSpan(DateTime, TimeSpan) RecordTimeSpan(DateTime, TimeSpan) RecordTimeSpan(DateTime, TimeSpan)
Initiates an app capture record operation beginning at the specified time, for the specified duration.
public : AppCaptureRecordOperation RecordTimeSpan(DateTime startTime, TimeSpan duration)public AppCaptureRecordOperation RecordTimeSpan(DateTimeOffset startTime, TimeSpan duration)Public Function RecordTimeSpan(startTime As DateTimeOffset, duration As TimeSpan) As AppCaptureRecordOperation// You can use this method in JavaScript.
- startTime
- DateTime DateTimeOffset DateTimeOffset DateTimeOffset
The time at which the app capture record operation is initiated.
- duration
- TimeSpan TimeSpan TimeSpan TimeSpan
The duration 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
|