to top
Android APIs
public abstract class

GeofenceHardwareMonitorCallback

extends Object
java.lang.Object
   ↳ android.hardware.location.GeofenceHardwareMonitorCallback

Class Overview

The callback class associated with the status change of hardware montiors in GeofenceHardware

Summary

Public Constructors
GeofenceHardwareMonitorCallback()
Public Methods
void onMonitoringSystemChange(int monitoringType, boolean available, Location location)
The callback called when the state of a monitoring system changes.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GeofenceHardwareMonitorCallback ()

Added in API level 18

Public Methods

public void onMonitoringSystemChange (int monitoringType, boolean available, Location location)

Added in API level 18

The callback called when the state of a monitoring system changes. MONITORING_TYPE_GPS_HARDWARE is an example of a monitoring system

Parameters
monitoringType The type of the monitoring system.
available Indicates whether the system is currenty available or not.
location The last known location according to the monitoring system.