public class IOSPressOptions extends AbstractOptionCombinedWithPosition<IOSPressOptions>
Constructor and Description |
---|
IOSPressOptions() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
build()
Creates a map based on the provided options.
|
static IOSPressOptions |
iosPressOptions()
It creates an empty instance of
IOSPressOptions . |
IOSPressOptions |
withPressure(double pressure)
Set the pressure value.
|
verify, withElement, withPosition
public static IOSPressOptions iosPressOptions()
IOSPressOptions
.IOSPressOptions
public IOSPressOptions withPressure(double pressure)
pressure
- the value to set.
See the description of `force` property on Apple's UITouch class
(https://developer.apple.com/documentation/uikit/uitouch?language=objc)
for more details on possible value ranges.public java.util.Map<java.lang.String,java.lang.Object> build()
ActionOptions
build
in class AbstractOptionCombinedWithPosition<IOSPressOptions>