Package io.appium.java_client.touch
Class LongPressOptions
java.lang.Object
io.appium.java_client.touch.ActionOptions<AbstractOptionCombinedWithPosition<T>>
io.appium.java_client.touch.offset.AbstractOptionCombinedWithPosition<LongPressOptions>
io.appium.java_client.touch.LongPressOptions
@Deprecated
public class LongPressOptions
extends AbstractOptionCombinedWithPosition<LongPressOptions>
Deprecated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Creates a map based on the provided options.static LongPressOptionsDeprecated.It creates an empty instance ofLongPressOptions.withDuration(Duration duration) Deprecated.Set the long press duration.Methods inherited from class io.appium.java_client.touch.offset.AbstractOptionCombinedWithPosition
verify, withElement, withPosition
-
Field Details
-
duration
Deprecated.
-
-
Constructor Details
-
LongPressOptions
public LongPressOptions()Deprecated.
-
-
Method Details
-
longPressOptions
Deprecated.It creates an empty instance ofLongPressOptions.- Returns:
- an empty instance of
LongPressOptions
-
withDuration
Deprecated.Set the long press duration.- Parameters:
duration- the value to set. Time resolution unit is 1 ms.- Returns:
- this instance for chaining.
-
build
Deprecated.Description copied from class:ActionOptionsCreates a map based on the provided options.- Overrides:
buildin classAbstractOptionCombinedWithPosition<LongPressOptions>- Returns:
- options mapping.
-