A builder for GeofencingRequest.
|
Builder()
|
| GeofencingRequest.Builder | |
| GeofencingRequest.Builder | |
| GeofencingRequest |
build()
Builds the
GeofencingRequest.
|
| GeofencingRequest.Builder |
setInitialTrigger(int initialTrigger)
Sets the geofence notification behavior at the moment when the geofences are
added.
|
Adds a geofence to the request.
Adds the given geofences to the request.
Builds the GeofencingRequest.
At least one geofence must have been added to the GeofencingRequest.Builder.
Sets the geofence notification behavior at the moment when the geofences are added.
The default behavior is
GeofencingRequest.INITIAL_TRIGGER_ENTER and
GeofencingRequest.INITIAL_TRIGGER_DWELL.
| initialTrigger | the notification behavior. Should be a bit-wise of
GeofencingRequest#INITIAL_TRIGGER_ options. |
|---|