Package org.robolectric.shadows
Class ShadowLocationManager.RoboLocationRequest
- java.lang.Object
-
- org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
-
- Enclosing class:
- ShadowLocationManager
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 Summary
Constructors Constructor Description RoboLocationRequest(String provider, long intervalMillis, float minUpdateDistanceMeters, boolean singleShot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetIntervalMillis()floatgetMinUpdateDistanceMeters()inthashCode()booleanisSingleShot()
-
-
-
Constructor Detail
-
RoboLocationRequest
public RoboLocationRequest(String provider, long intervalMillis, float minUpdateDistanceMeters, boolean singleShot)
-
-