Interface SupportsGpsStateManagement

    • Method Detail

      • 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.