GeofenceHardwareMonitorCallbackpublic abstract class GeofenceHardwareMonitorCallback extends Object The callback class associated with the status change of hardware monitors
in {@link GeofenceHardware} |
Methods Summary |
---|
public void | onMonitoringSystemChange(int monitoringType, boolean available, android.location.Location location)The callback called when the state of a monitoring system changes.
{@link GeofenceHardware#MONITORING_TYPE_GPS_HARDWARE} is an example of a
monitoring system.
| public void | onMonitoringSystemChange(GeofenceHardwareMonitorEvent event)The callback called when the sate of a monitoring system changes.
{@link GeofenceHardware#MONITORING_TYPE_GPS_HARDWARE} is an example of a monitoring system.
{@link GeofenceHardware#MONITOR_CURRENTLY_AVAILABLE} is an example of a monitoring status.
{@link GeofenceHardware#SOURCE_TECHNOLOGY_GNSS} is an example of a source.
This callback must be used instead of
{@link #onMonitoringSystemChange(int, boolean, android.location.Location)}.
NOTE: this API is only called on Android API 21 and above.
|
|