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, withPositionpublic static IOSPressOptions iosPressOptions()
IOSPressOptions.IOSPressOptionspublic 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()
ActionOptionsbuild in class AbstractOptionCombinedWithPosition<IOSPressOptions>