java.lang.Object |
↳ |
com.google.android.gms.location.LocationAvailability |
Summary
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
Public Methods
public
boolean
equals
(Object o)
public
static
boolean
hasLocationAvailability
(Intent intent)
Returns true if an Intent contains a LocationAvailability
.
This is a utility function that can be called from inside an intent
receiver to make sure the received intent contains location availability data.
public
boolean
isLocationAvailable
()
Returns true if the device location is known and reasonably up to date within the hints
requested by the active LocationRequest
s. Failure to determine location may result
from a number of causes including disabled location settings or an inability to retrieve
sensor data in the device's environment.
public
String
toString
()
public
void
writeToParcel
(Parcel parcel, int flags)
Parameters |
parcel |
Parcel
|
flags |
int
|