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 SourceDeviceScreenshot(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 SourceDevice
Gets the device associated with the screenshot.
Declaration
public IDevice Device { get; }
Property Value
Type | Description |
---|---|
IDevice |
Screenshot
Gets the screenshot represented as a BitmapSource.
Declaration
public BitmapSource Screenshot { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Imaging.BitmapSource |
Timestamp
Gets the timestamp of the screenshot.
Declaration
public DateTime Timestamp { get; }
Property Value
Type | Description |
---|---|
System.DateTime |