Package 

Class GeofenceBroadcastReceiver


  • 
    public final class GeofenceBroadcastReceiver
    extends BroadcastReceiver
                        

    Broadcast receiver wired to the PendingIntent registered by AegisGeofenceManager.startMonitoring. Play Services invokes this when a monitored region's ENTER / EXIT transition fires.

    Decodes the GeofencingEvent, maps the transition to the canonical event name (geofence.entered / geofence.exited), collects the triggering geofence request-ids, and routes them to AegisGeofenceManager.handleTransition, which resolves each id back to its full AegisGeofenceManager.Geofence and emits the envelope.

    The SDK adds this receiver via manifest merge (declared in the SDK's AndroidManifest.xml); host apps don't need to declare it.

    • Method Summary

      Modifier and Type Method Description
      Unit onReceive(Context context, Intent intent)
      • Methods inherited from class ai.aegis.sdk.location.GeofenceBroadcastReceiver

        abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, getSentFromPackage, getSentFromUid, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeofenceBroadcastReceiver

        GeofenceBroadcastReceiver()