-
- 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.
-
-
Method Summary
Modifier and Type Method Description static Intent
getWakeupIntent(Context context)
void
handleBroadcast(@NonNull() Context context, @NonNull() Intent intent)
-
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
-
-
Method Detail
-
getWakeupIntent
static Intent getWakeupIntent(Context context)
-
handleBroadcast
void handleBroadcast(@NonNull() Context context, @NonNull() Intent intent)
-
-
-
-