Skip to content

CdpTouchscreen

Namespace: PuppeteerSharp.Cdp

public class CdpTouchscreen : Touchscreen, ITouchscreen

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

Inheritance: object → Touchscreen

Implements: ITouchscreen

View source

public override Task<ITouchHandle> TouchStartAsync(decimal x, decimal y)

Dispatches a touchstart event.

Parameters

Name Type Description
x decimal The touch X location.
y decimal The touch Y location.

Returns: Task<ITouchHandle> — A Task that resolves with a handle for the touch that was started.

View source

Made with love by Dario Kondratiuk