Show / Hide Table of Contents

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 Source

CaptureAsync()

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.

View Source

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.

View Source

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.

View Source

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

  • View Source
In This Article
Back to top Generated by DocFX