public abstract class GeofenceProvider extends Object
Geofence providers can be implemented as services and return the result of
getBinder()
in its getBinder() method.
IMPORTANT: This class is effectively a public API for unbundled applications, and must remain API stable. See README.txt in the root of this package for more information.
Constructor and Description |
---|
GeofenceProvider() |
Modifier and Type | Method and Description |
---|---|
IBinder |
getBinder()
Returns the Binder interface for the geofence provider.
|
abstract void |
onGeofenceHardwareChange(GeofenceHardware geofenceHardware)
Called when GeofenceHardware object becomes available.
|
public IBinder getBinder()
public abstract void onGeofenceHardwareChange(GeofenceHardware geofenceHardware)
geofenceHardware
- Geofence Hardware object. This can be null
when for some reason the service connection gets disconnected.