Package org.robolectric.shadows
Class ShadowLocationManager.RoboLocationRequest
java.lang.Object
org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
- Enclosing class:
- ShadowLocationManager
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
ConstructorDescriptionRoboLocationRequest
(LocationRequest locationRequest) RoboLocationRequest
(String provider, long intervalMillis, float minUpdateDistanceMeters, boolean singleShot) -
Method Summary
-
Constructor Details
-
RoboLocationRequest
-
RoboLocationRequest
public RoboLocationRequest(String provider, long intervalMillis, float minUpdateDistanceMeters, boolean singleShot)
-
-
Method Details
-
getLocationRequest
-
getIntervalMillis
public long getIntervalMillis() -
getMinUpdateDistanceMeters
public float getMinUpdateDistanceMeters() -
isSingleShot
public boolean isSingleShot() -
equals
-
hashCode
public int hashCode() -
toString
-