public class BootLauncher
extends android.content.BroadcastReceiver
This class is called upon when the device is booted to ensure that a stimulus process is started upon boot of the device.
Constructor and Description |
---|
BootLauncher() |
Modifier and Type | Method and Description |
---|---|
void |
onReceive(android.content.Context context,
android.content.Intent intent)
On receiving the OS broadcast that the device has been booted, a stimulus is started with a
strategy chosen based on the available hardware of the device.
|
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
context
- the context from which the broadcast receiver can operateintent
- the intent which accompanies the broadcast sent