Interface IDeviceScreenshot
An interface for a device to implement how to capture a screenshot.
Namespace: Phoenix.MediaCapture.Screenshot
Assembly: Phoenix.Abstractions.MediaCapture.dll
Syntax
[Obsolete("Implementation of this class has been removed. Use the device console library instead.", true)]
public interface IDeviceScreenshot
Methods
View SourceCaptureAsync()
Captures a screenshot and returns it as a BitmapSource
Declaration
Task<BitmapSource> CaptureAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Windows.Media.Imaging.BitmapSource> | The screenshot taken. |
CaptureWithParametersAsync()
Captures a screenshot with certain parameters and returns it as a BitmapSource
Declaration
Task<BitmapSource> CaptureWithParametersAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Windows.Media.Imaging.BitmapSource> | The screenshot taken. |
GetScreenshotCaptureParameters()
Gets the list of capture parameters for this device.
Declaration
List<CaptureParameter> GetScreenshotCaptureParameters()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<CaptureParameter> | A list of capture parameters. |
SetScreenshotCaptureParameters(Object[])
Stores the capture parameters for a device
Declaration
void SetScreenshotCaptureParameters(params object[] captureParameters)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | captureParameters | an array of capture parameters |