Class SynthesizeTapGestureCommandSettings
Synthesizes a tap gesture over a time period by issuing appropriate touch events.
public sealed class SynthesizeTapGestureCommandSettings : ICommand
- Inheritance
-
SynthesizeTapGestureCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Duration
Duration between touchdown and touchup events in ms (default: 50).
[JsonPropertyName("duration")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Duration { get; set; }
Property Value
- long?
GestureSourceType
Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
[JsonPropertyName("gestureSourceType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public GestureSourceType? GestureSourceType { get; set; }
Property Value
TapCount
Number of times to perform the tap (e.g. 2 for double tap, default: 1).
[JsonPropertyName("tapCount")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? TapCount { get; set; }
Property Value
- long?
X
X coordinate of the start of the gesture in CSS pixels.
[JsonPropertyName("x")]
public double X { get; set; }
Property Value
Y
Y coordinate of the start of the gesture in CSS pixels.
[JsonPropertyName("y")]
public double Y { get; set; }