Interface SupportsGpsStateManagement

All Superinterfaces:
CanRememberExtensionPresence, ExecutesMethod
All Known Implementing Classes:
AndroidDriver, FlutterAndroidDriver

public interface SupportsGpsStateManagement extends ExecutesMethod, CanRememberExtensionPresence
  • Method Details

    • toggleLocationServices

      default void toggleLocationServices()
      Toggles GPS service state. This method only works reliably since API 31 (Android 12).
    • isLocationServicesEnabled

      default boolean isLocationServicesEnabled()
      Check GPS service state.
      Returns:
      true if GPS service is enabled.