| java.lang.Object | |
| ↳ | com.google.android.gms.location.GeofencingEvent |
Represents an event from the GeofencingApi API. The event can be
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
GeofencingEvent object from the given intent.
| |||||||||||
Returns the error code that explains the error that triggered the intent
specified in
fromIntent(Intent).
| |||||||||||
Returns the transition type of the geofence transition alert.
| |||||||||||
Returns a list of geofences that triggered this geofence transition
alert.
| |||||||||||
Gets the location that triggered the geofence transition.
| |||||||||||
Whether an error triggered this intent.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||||||||||||||||
Creates a GeofencingEvent object from the given intent.
| intent | the intent to extract the geofencing event data from |
|---|
GeofencingEvent object or null if the given
intent is null
Returns the error code that explains the error that triggered the intent
specified in fromIntent(Intent).
GeofenceStatusCodes or
-1 if hasError() returns false.
Returns the transition type of the geofence transition alert.
fromIntent(Intent) is not
generated for a transition alert; Otherwise returns the
GEOFENCE_TRANSITION_ flags value defined in Geofence.
Returns a list of geofences that triggered this geofence transition alert.
null if the intent specified in
fromIntent(Intent) is not generated for a geofence
transition alert
Gets the location that triggered the geofence transition. Triggering location is only available if the calling app links against Google Play services 5.0 SDK.
null
if it's not included in the intent specified in
fromIntent(Intent)
Whether an error triggered this intent.
true if an error triggered the intent specified in
fromIntent(Intent), otherwise false