start

actual fun start(geofences: List<AFGeofence>): AFGeofencingResult

Starts the geofencing service with the given list of geofences. Geofences are validated, persisted to disk, and registered with Google Play Services. A foreground service is started to ensure reliable background operation.

Parameters

geofences

The list of AFGeofence objects to monitor.

expect fun start(geofences: List<AFGeofence>): AFGeofencingResult

Starts monitoring a list of geofences.

Return

AFGeofencingResult representing success or failure.

Parameters

geofences

A list of AFGeofence objects defining the regions to monitor.

actual fun start(geofences: List<AFGeofence>): AFGeofencingResult
actual fun start(geofences: List<AFGeofence>): AFGeofencingResult