DeviceScreen

Wisej.Hybrid.DeviceScreen

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (3.5.0.0)

Provides methods for interacting with the device's screen, including taking screenshots and screen recording.

public class DeviceScreen

Access this class through the Device singleton.

Constructors

Initializes a new instance of DeviceScreen.

Methods

Takes a screenshot of the device's screen.

Returns: Image. An Image representing the captured screenshot.

Note: There may be issues in Windows as documented here: https://github.com/MicrosoftEdge/WebView2Feedback/issues/2799

Starts recording the device's screen.

Returns: Boolean. True if screen recording started successfully; otherwise, false.

Stops recording the device's screen.

Events

EventHandler<MemoryStream> Occurs when a video stream from the device's screen is received.

Last updated