Class ShadowLocationManager.RoboLocationRequest

  • Enclosing class:

    public static final class ShadowLocationManager.RoboLocationRequest
    extends Object
    LocationRequest doesn't exist prior to Kitkat, and is not public prior to S, so a new class is required to represent it prior to those platforms.
    • Constructor Detail

      • RoboLocationRequest

        public RoboLocationRequest​(LocationRequest locationRequest)
      • RoboLocationRequest

        public RoboLocationRequest​(String provider,
                                   long intervalMillis,
                                   float minUpdateDistanceMeters,
                                   boolean singleShot)
    • Method Detail

      • getIntervalMillis

        public long getIntervalMillis()
      • getMinUpdateDistanceMeters

        public float getMinUpdateDistanceMeters()
      • isSingleShot

        public boolean isSingleShot()
      • hashCode

        public int hashCode()
        hashCode in class Object