![]() |
Speedify SDK for Android 15.6.2
|
Helper class for running BroadcastReceiver code off the main thread in a shared threadpool. More...
Public Member Functions | |
final void | onReceive (final Context context, final Intent intent) |
Overrides BroadcastReceiver's onReceive to post a new Runnable to the threadpool. | |
abstract void | receive (Context context, Intent intent) |
Implement this with your BroadcastReceiver code. | |
Helper class for running BroadcastReceiver code off the main thread in a shared threadpool.
Implement receive
to run your receiver in a background thread.
final void onReceive | ( | final Context | context, |
final Intent | intent ) |
Overrides BroadcastReceiver's onReceive to post a new Runnable to the threadpool.
Do not override.
context | Context |
intent | The received intent |
|
abstract |
Implement this with your BroadcastReceiver code.
This takes the place of BroadcastReceiver's onReceive in your code.
context | Context |
intent | The received intent |
Reimplemented in StartupBroadcastReceiver, and StateTrackingSBR.