java.lang.Object |
↳ |
com.google.android.gms.location.GeofencingRequest.Builder |
Summary
[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()
|
|
Public Constructors
public
GeofencingRequest.Builder
()
Public Methods
Adds a geofence to be monitored by geofencing service.
Parameters |
geofence |
Geofence :
the geofence to be monitored. The geofence must be built with
Geofence.Builder . |
Throws |
IllegalArgumentException |
if the geofence is not built with
Geofence.Builder . |
NullPointerException |
if the given geofence is null
|
Adds all the geofences in the given list to be monitored by geofencing service.
Parameters |
geofences |
List :
the geofences to be monitored. The geofences in the list must be built
with Geofence.Builder . |
Throws |
IllegalArgumentException |
if the geofence is not built with
Geofence.Builder .
|
Builds the GeofencingRequest
object.
Throws |
IllegalArgumentException |
if no geofence has been added to this list
|