Interface SupportsGpsEnabledOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String GPS_ENABLED_OPTION  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Boolean> getGpsEnabled()
      Get the state of GPS service on emulator.
      default T gpsEnabled()
      Enables GPS service in the Emulator.
      default T setGpsEnabled​(boolean value)
      Sets whether to enable (true) or disable (false) GPS service in the Emulator.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

    • Method Detail

      • gpsEnabled

        default T gpsEnabled()
        Enables GPS service in the Emulator. Unset by default, which means to not change the current value.
        Returns:
        self instance for chaining.
      • setGpsEnabled

        default T setGpsEnabled​(boolean value)
        Sets whether to enable (true) or disable (false) GPS service in the Emulator. Unset by default, which means to not change the current value.
        Parameters:
        value - Whether to enable or disable the GPS service.
        Returns:
        self instance for chaining.
      • getGpsEnabled

        default java.util.Optional<java.lang.Boolean> getGpsEnabled()
        Get the state of GPS service on emulator.
        Returns:
        True or false.