ScreenCapture Class
Definition
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.
Enables an app to capture audio and video of the contents being displayed on the device.
public ref class ScreenCapture sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ScreenCapture final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScreenCapture
Public NotInheritable Class ScreenCapture
- Inheritance
- Attributes
Windows requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Phone.PhoneContract (introduced in v1.0)
|
Remarks
Important
The ScreenCapture feature is only supported for mobile devices running Windows Phone 8.1. This API is not supported on Windows 10.
Properties
AudioSource |
Gets the audio source used for screen capture. |
IsAudioSuspended |
Gets whether the screen capture of audio is currently suspended. |
IsVideoSuspended |
Gets whether the screen capture of video is currently suspended. |
VideoSource |
Gets the video source used for screen capture. |
Methods
GetForCurrentView() |
Gets the ScreenCapture object associated with the app's current view. |
Events
SourceSuspensionChanged |
Raised when the suspension of screen captured audio or video changes. |