DeviceScreen
Wisej.Hybrid.DeviceScreen
Last updated
Wisej.Hybrid.DeviceScreen
Last updated
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.
Access this class through the Device singleton.
Initializes a new instance of DeviceScreen.
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.
EventHandler<MemoryStream> Occurs when a video stream from the device's screen is received.
microphone