public class IOSMobileCommandHelper extends MobileCommand
CLOSE_APP, commandRepository, CURRENT_ACTIVITY, END_TEST_COVERAGE, GET_CURRENT_PACKAGE, GET_DEVICE_TIME, GET_DISPLAY_DENSITY, GET_NETWORK_CONNECTION, GET_PERFORMANCE_DATA, GET_SESSION, GET_SETTINGS, GET_STRINGS, GET_SUPPORTED_PERFORMANCE_DATA_TYPES, GET_SYSTEM_BARS, HIDE_KEYBOARD, INSTALL_APP, IS_APP_INSTALLED, IS_KEYBOARD_SHOWN, IS_LOCKED, LAUNCH_APP, LOCK, LONG_PRESS_KEY_CODE, OPEN_NOTIFICATIONS, PERFORM_MULTI_TOUCH, PERFORM_TOUCH_ACTION, PRESS_KEY_CODE, PULL_FILE, PULL_FOLDER, PUSH_FILE, REMOVE_APP, REPLACE_VALUE, RESET, RUN_APP_IN_BACKGROUND, SET_NETWORK_CONNECTION, SET_SETTINGS, SET_VALUE, SHAKE, START_ACTIVITY, TOGGLE_LOCATION_SERVICES, TOUCH_ID, TOUCH_ID_ENROLLMENT, UNLOCK
Constructor and Description |
---|
IOSMobileCommandHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> |
shakeCommand()
This method forms a
Map of parameters for the
device shaking. |
static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> |
toggleTouchIdEnrollmentCommand()
Deprecated.
|
static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> |
toggleTouchIdEnrollmentCommand(boolean enabled)
This method forms a
Map of parameters for the toggling touchId
enrollment in simulator. |
static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> |
touchIdCommand(boolean match)
This method forms a
Map of parameters for the touchId simulator. |
deleteC, getC, getSettingsCommand, hideKeyboardCommand, hideKeyboardCommand, lockDeviceCommand, longPressKeyCodeCommand, longPressKeyCodeCommand, postC, prepareArguments, prepareArguments, pressKeyCodeCommand, pressKeyCodeCommand, setSettingsCommand
public static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> shakeCommand()
Map
of parameters for the
device shaking.Map
command arguments.public static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> touchIdCommand(boolean match)
Map
of parameters for the touchId simulator.match
- If true, simulates a successful fingerprint scan. If false, simulates a failed fingerprint scan.@Deprecated public static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> toggleTouchIdEnrollmentCommand()
Map
of parameters for the toggling touchId
enrollment in simulator.
The method is deprecated. Please use toggleTouchIdEnrollmentCommand(boolean)
instead.public static java.util.Map.Entry<java.lang.String,java.util.Map<java.lang.String,?>> toggleTouchIdEnrollmentCommand(boolean enabled)
Map
of parameters for the toggling touchId
enrollment in simulator.enabled
- Whether to enable or disable Touch ID Enrollment for Simulator.