Android.Hardware.Location.GeofenceHardwareCallback.OnGeofenceAdd Method
The callback called to notify the success or failure of the add call.

Syntax

[Android.Runtime.Register("onGeofenceAdd", "(II)V", "GetOnGeofenceAdd_IIHandler")]
public virtual void OnGeofenceAdd (int geofenceId, [Android.Runtime.GeneratedEnum] GeofenceMonitorStatus status)

Parameters

geofenceId
The ID of the geofence.
status
One of GeofenceHardware.GeofenceSuccess, GeofenceHardware.GeofenceErrorIdExists, GeofenceHardware.GeofenceErrorInvalidTransition, GeofenceHardware.GeofenceErrorTooManyGeofences, GeofenceHardware.GeofenceFailure

Remarks

The callback called to notify the success or failure of the add call.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Location
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18