public class LocationRequest extends Object implements android.os.Parcelable
LocationManager
.Modifier and Type | Class and Description |
---|---|
static class |
LocationRequest.Builder |
static class |
LocationRequest.IndoorProvider
The indoor provider used for positioning
|
static class |
LocationRequest.MotionMode
Positioning motion mode
|
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<LocationRequest> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
String |
getBuildingIdentifier() |
android.app.Notification |
getForegroundServiceNotification() |
LocationRequest.IndoorProvider |
getIndoorProvider() |
int |
getInterval() |
LocationRequest.MotionMode |
getMotionMode() |
OutdoorLocationOptions |
getOutdoorLocationOptions() |
int |
hashCode() |
String |
toString() |
boolean |
useBle() |
boolean |
useDeadReckoning() |
boolean |
useForegroundService() |
boolean |
useGlobalLocation()
Return true if indoor-outdoor location is enabled, no building identifier has been set.
|
boolean |
useWifi() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<LocationRequest> CREATOR
public String getBuildingIdentifier()
public int getInterval()
public LocationRequest.IndoorProvider getIndoorProvider()
public boolean useBle()
public boolean useWifi()
public LocationRequest.MotionMode getMotionMode()
public boolean useDeadReckoning()
public boolean useForegroundService()
public android.app.Notification getForegroundServiceNotification()
public OutdoorLocationOptions getOutdoorLocationOptions()
public boolean useGlobalLocation()
setBuildingIdentifier(String)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable