Interface ITouchscreen
- Namespace
- PuppeteerSharp.Input
- Assembly
- PuppeteerSharp.dll
Provides methods to interact with the touch screen.
public interface ITouchscreen
Methods
TapAsync(decimal, decimal)
Dispatches a touchstart
and touchend
event.
Task TapAsync(decimal x, decimal y)
Parameters
Returns
- Task
Task.
- See Also
TouchEndAsync()
/// Dispatches a touchendt
event.
Task TouchEndAsync()
Returns
- Task
A Task that resolves when the message was confirmed by the browser.
TouchMoveAsync(decimal, decimal)
Dispatches a touchmove
event.
Task TouchMoveAsync(decimal x, decimal y)
Parameters
Returns
- Task
A Task that resolves when the message was confirmed by the browser.
TouchStartAsync(decimal, decimal)
Dispatches a touchstart
event.
Task TouchStartAsync(decimal x, decimal y)
Parameters
Returns
- Task
A Task that resolves when the message was confirmed by the browser.