AFGeofence Location Delegate
class AFGeofenceLocationDelegate(setStatus: (AFGeofencingStatus) -> Unit, onRegionEnterPersist: () -> Unit) : NSObject, CLLocationManagerDelegateProtocol
Internal class implementing the CLLocationManagerDelegateProtocol to handle geofence events. This class is responsible for receiving notifications when a device enters or exits a monitored region, and also handles dwell time calculations within a region.
It uses a map of NSTimer objects (dwellTimers) to track how long a device has been inside a region, triggering a DWELL event after a predefined interval (180 seconds).
All geofence transition events (ENTER, EXIT, DWELL) and errors are emitted through AFGeofencingInternal.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun locationManager(manager: CLLocationManager, didChangeAuthorizationStatus: CLAuthorizationStatus)
open override fun locationManager(manager: CLLocationManager, didStartMonitoringForRegion: CLRegion)
open override fun locationManager(manager: CLLocationManager, monitoringDidFailForRegion: CLRegion?, withError: NSError)
open override fun locationManager(manager: CLLocationManager, didDetermineState: CLRegionState, forRegion: CLRegion)
expect open fun locationManager(manager: CLLocationManager, didFinishDeferredUpdatesWithError: NSError?)
expect open fun locationManager(manager: CLLocationManager, didRangeBeacons: List<*>, satisfyingConstraint: CLBeaconIdentityConstraint)
expect open fun locationManager(manager: CLLocationManager, didRangeBeacons: List<*>, inRegion: CLBeaconRegion)
expect open fun locationManager(manager: CLLocationManager, didFailRangingBeaconsForConstraint: CLBeaconIdentityConstraint, error: NSError)
expect open fun locationManager(manager: CLLocationManager, rangingBeaconsDidFailForRegion: CLBeaconRegion, withError: NSError)
expect open fun locationManager(manager: CLLocationManager, didUpdateToLocation: CLLocation, fromLocation: CLLocation)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect open fun methodSignatureForSelector(aSelector: COpaquePointer?): objcnames/classes/NSMethodSignature??
Link copied to clipboard
Link copied to clipboard
expect open override fun performSelector(aSelector: COpaquePointer?, withObject: Any?, _withObject: Any?): Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard