Package 

Class StartupBroadcastReceiver

  • All Implemented Interfaces:

    
    public class StartupBroadcastReceiver
    extends PointrBroadcastReceiver
                        

    This receiver gets the events of BOOT, POWER STATE CHANGES, BT STATE CHANGES and signals from the Wake up alarm then starts the GeofencingService. This is for waking up the system if it was put to sleep by the android optimization.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static Intent getWakeupIntent(Context context)
      void handleBroadcast(@NonNull() Context context, @NonNull() Intent intent) Called only when pointr is ready to operate for received broadcast
      • Methods inherited from class com.pointrlabs.core.receiver.PointrBroadcastReceiver

        addListener, onReceive, removeListener
      • Methods inherited from class android.content.BroadcastReceiver

        abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, onReceive, 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

    • Method Detail

      • handleBroadcast

         void handleBroadcast(@NonNull() Context context, @NonNull() Intent intent)

        Called only when pointr is ready to operate for received broadcast

        Parameters:
        context - The Context in which the receiver is running.
        intent - The Intent being received.