Class IOSMobileCommandHelper

    • Constructor Detail

      • IOSMobileCommandHelper

        public IOSMobileCommandHelper()
    • Method Detail

      • shakeCommand

        public 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.
        Returns:
        a key-value pair. The key is the command name. The value is a Map command arguments.
      • touchIdCommand

        public 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.
        Parameters:
        match - If true, simulates a successful fingerprint scan. If false, simulates a failed fingerprint scan.
        Returns:
        a key-value pair. The key is the command name. The value is a Map command arguments.
      • toggleTouchIdEnrollmentCommand

        public 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.
        Parameters:
        enabled - Whether to enable or disable Touch ID Enrollment for Simulator.
        Returns:
        a key-value pair. The key is the command name. The value is a Map command arguments.