public static final class GeofencingRequest.Builder
extends java.lang.Object
GeofencingRequests.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GeofencingRequest.Builder |
addGeofence(Geofence geofence)
Add a
Geofence to the list of geofences to be monitored. |
GeofencingRequest.Builder |
addGeofences(java.util.List<Geofence> geofences) |
GeofencingRequest |
build()
Create and return a new
GeofencingRequest object from the builder's properties. |
public GeofencingRequest build()
GeofencingRequest object from the builder's properties.GeofencingRequestpublic GeofencingRequest.Builder addGeofence(Geofence geofence)
Geofence to the list of geofences to be monitored.geofence - Geofence to monitor.GeofencingRequest.Builder object.public GeofencingRequest.Builder addGeofences(java.util.List<Geofence> geofences)