Show / Hide Table of Contents

Class DeviceScreenshot

A class that represents a device screenshot.

Inheritance
System.Object
DeviceScreenshot
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.MediaCapture.Screenshot
Assembly: Phoenix.Abstractions.MediaCapture.dll
Syntax
public class DeviceScreenshot

Constructors

View Source

DeviceScreenshot(IDevice, BitmapSource, DateTime)

Initializes a new instance of the DeviceScreenshot class.

Declaration
public DeviceScreenshot(IDevice device, BitmapSource screenshot, DateTime timestamp)
Parameters
Type Name Description
IDevice device

The device associated with the screenshot.

System.Windows.Media.Imaging.BitmapSource screenshot

The screenshot in BitmapSource format.

System.DateTime timestamp

The timestamp of the image.

Properties

View Source

Device

Gets the device associated with the screenshot.

Declaration
public IDevice Device { get; }
Property Value
Type Description
IDevice
View Source

Screenshot

Gets the screenshot represented as a BitmapSource.

Declaration
public BitmapSource Screenshot { get; }
Property Value
Type Description
System.Windows.Media.Imaging.BitmapSource
View Source

Timestamp

Gets the timestamp of the screenshot.

Declaration
public DateTime Timestamp { get; }
Property Value
Type Description
System.DateTime
  • View Source
In This Article
Back to top Generated by DocFX