A callback function that is called whenever
a smart geofence event is triggered. The function receives a single argument:
a SmartGeofenceEvent object containing details about the event.
A Promise that resolves to an EmitterSubscription.
This subscription object can be used to unsubscribe from the event notifications
in the future, by calling remove() on the returned subscription object.
Retrieves the geofence entry/exit detection mode.
Registers a listener for smart geofence events.
This function sets up an event listener that will execute the provided callback function whenever a smart geofence event occurs (could be an entry, or an exit event).