java.lang.Object | |
↳ | com.google.android.gms.location.GeofencingRequest |
Specifies the list of geofences to be monitored and how the geofence notifications should be reported.
Refer to addGeofences(com.google.android.gms.common.api.GoogleApiClient, GeofencingRequest, android.app.PendingIntent)
on how to monitor geofences.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GeofencingRequest.Builder | A builder that builds GeofencingRequest .Pending
|
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | INITIAL_TRIGGER_DWELL | A flag indicating that geofencing service should trigger
GEOFENCE_TRANSITION_DWELL notification at the moment when the geofence is
added and if the device is already inside that geofence for some time. |
|||||||||
int | INITIAL_TRIGGER_ENTER | A flag indicating that geofencing service should trigger
GEOFENCE_TRANSITION_ENTER notification at the moment when the geofence is
added and if the device is already inside that geofence. |
|||||||||
int | INITIAL_TRIGGER_EXIT | A flag indicating that geofencing service should trigger
GEOFENCE_TRANSITION_EXIT notification at the moment when the geofence is
added and if the device is already outside that geofence. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the list of geofences to be monitored.
| |||||||||||
Gets the triggering behavior at the moment when the geofences are added.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
A flag indicating that geofencing service should trigger
GEOFENCE_TRANSITION_DWELL
notification at the moment when the geofence is
added and if the device is already inside that geofence for some time.
A flag indicating that geofencing service should trigger
GEOFENCE_TRANSITION_ENTER
notification at the moment when the geofence is
added and if the device is already inside that geofence.
A flag indicating that geofencing service should trigger
GEOFENCE_TRANSITION_EXIT
notification at the moment when the geofence is
added and if the device is already outside that geofence.
Gets the list of geofences to be monitored.
Returns | |
---|---|
List<Geofence> |
the list of geofences to be monitored |
Gets the triggering behavior at the moment when the geofences are added.
Returns | |
---|---|
int |
the triggering behavior at the moment when the geofences are added. Its a bit-wise of
INITIAL_TRIGGER_ENTER and INITIAL_TRIGGER_EXIT .
|
Parameters | |
---|---|
dest |
Parcel
|
flags |
int
|