Android.Hardware.Location.GeofenceHardware Members

The members of Android.Hardware.Location.GeofenceHardware are listed below.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
GeofenceEnteredGeofenceTransition (1). The constant to indicate that the user has entered the geofence.
const
GeofenceErrorIdExistsGeofenceError (2). The constant used to indicate that the geofence id already exists.
const
GeofenceErrorIdUnknownGeofenceError (3). The constant used to indicate that the geofence id is unknown.
const
GeofenceErrorInvalidTransitionGeofenceError (4). The constant used to indicate that the transition requested for the geofence is invalid.
const
GeofenceErrorTooManyGeofencesGeofenceError (1). The constant used to indicate that too many geofences have been registered.
const
GeofenceExitedGeofenceTransition (2). The constant to indicate that the user has exited the geofence.
const
GeofenceFailureGeofenceTransition (5). The constant used to indicate that the geofence operation has failed.
const
GeofenceSuccessGeofenceTransition (0). The constant used to indicate success of the particular geofence call
const
GeofenceUncertainGeofenceTransition (4). The constant to indicate that the user is uncertain with respect to a geofence. nn
const
MonitorCurrentlyAvailableGeofenceMonitorStatus (0). Constant to indiciate that the monitoring system is currently available for monitoring geofences.
const
MonitorCurrentlyUnavailableGeofenceMonitorStatus (1). Constant to indiciate that the monitoring system is currently unavailable for monitoring geofences.
const
MonitoringTypeGpsHardwareGeofenceMonitoringType (0). Constant for geofence monitoring done by the GPS hardware.
const
MonitorUnsupportedGeofenceMonitorStatus (2). Constant to indiciate that the monitoring system is unsupported for hardware geofence monitoring.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddGeofence(int, GeofenceMonitoringType, GeofenceHardwareRequest, GeofenceHardwareCallback) : bool
Creates a circular geofence which is monitored by subsystems in the hardware.
GetMonitoringTypes() : int[]
Returns all the hardware geofence monitoring systems which are supported
GetStatusOfMonitoringType(GeofenceMonitoringType) : int
Returns current status of a hardware geofence monitoring system.
PauseGeofence(int, GeofenceMonitoringType) : bool
Pauses the monitoring of a geofence added by GeofenceHardware.AddGeofence(int, Android.Hardware.Location.GeofenceMonitoringType, Android.Hardware.Location.GeofenceMonitoringType, Android.Hardware.Location.GeofenceMonitoringType) call.
RegisterForMonitorStateChangeCallback(GeofenceMonitoringType, GeofenceHardwareMonitorCallback) : bool
Register the callback to be notified when the state of a hardware geofence monitoring system changes.
RemoveGeofence(int, GeofenceMonitoringType) : bool
Removes a geofence added by GeofenceHardware.AddGeofence(int, Android.Hardware.Location.GeofenceMonitoringType, Android.Hardware.Location.GeofenceMonitoringType, Android.Hardware.Location.GeofenceMonitoringType) call.
ResumeGeofence(int, GeofenceMonitoringType, GeofenceTransition) : bool
Resumes the monitoring of a geofence added by GeofenceHardware.PauseGeofence(int, Android.Hardware.Location.GeofenceMonitoringType) call.
UnregisterForMonitorStateChangeCallback(GeofenceMonitoringType, GeofenceHardwareMonitorCallback) : bool
Unregister the callback that was used with GeofenceHardware.RegisterForMonitorStateChangeCallback(GeofenceMonitoringType, Android.Hardware.Location.GeofenceHardwareMonitorCallback) to notify when the state of the hardware geofence monitoring system changes.