GeofenceTransitionAdapter

Base class for geofence transition listeners with default no-op implementations.

Since

0.4.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun onDwell(region: GeofenceRegion)

Called when the device has dwelled in a region for the configured duration.

Link copied to clipboard
open override fun onError(error: GeofenceError)

Called when geofence monitoring encounters an error.

Link copied to clipboard
open override fun onRegionEntered(region: GeofenceRegion, profile: PolicyProfile)

Called when the device enters a geofence region.

Link copied to clipboard
open override fun onRegionExited(region: GeofenceRegion, newProfile: PolicyProfile)

Called when the device exits a geofence region.