| java.lang.Object | |
| ↳ | android.hardware.location.GeofenceHardwareCallback | 
The callback class associated with the APIs in GeofenceHardware
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
The callback called to notify the success or failure of the add call. 
  
   | |||||||||||
The callback called to notify the success or failure of the pause call. 
  
   | |||||||||||
The callback called to notify the success or failure of the remove call. 
  
   | |||||||||||
The callback called to notify the success or failure of the resume call. 
  
   | |||||||||||
The callback called when there is a transition to report for the specific
 geofence. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
The callback called to notify the success or failure of the add call.
| geofenceId | The ID of the geofence. | 
|---|---|
| status | One of GEOFENCE_SUCCESS,
        GEOFENCE_ERROR_ID_EXISTS,
        GEOFENCE_ERROR_INVALID_TRANSITION,
        GEOFENCE_ERROR_TOO_MANY_GEOFENCES,
        GEOFENCE_FAILURE
 | 
        
The callback called to notify the success or failure of the pause call.
| geofenceId | The ID of the geofence. | 
|---|---|
| status | One of GEOFENCE_SUCCESS,
        GEOFENCE_ERROR_ID_UNKNOWN,
        GEOFENCE_FAILURE
 | 
        
The callback called to notify the success or failure of the remove call.
| geofenceId | The ID of the geofence. | 
|---|---|
| status | One of GEOFENCE_SUCCESS,
        GEOFENCE_ERROR_ID_UNKNOWN,
        GEOFENCE_FAILURE
 | 
        
The callback called to notify the success or failure of the resume call.
| geofenceId | The ID of the geofence. | 
|---|---|
| status | One of GEOFENCE_SUCCESS,
        GEOFENCE_ERROR_ID_UNKNOWN,
        GEOFENCE_ERROR_INVALID_TRANSITION,
        GEOFENCE_FAILURE
 | 
        
The callback called when there is a transition to report for the specific geofence.
| geofenceId | The geofence ID of the geofence | 
|---|---|
| transition | One of GEOFENCE_ENTERED,
        GEOFENCE_EXITED, GEOFENCE_UNCERTAIN | 
        
| location | The last known location according to the monitoring system. | 
| timestamp | The timestamp (elapsed real time in milliseconds) when the transition was detected | 
| monitoringType | Type of the monitoring system. |