Speedify SDK for Android
15.0.0
|
Helper class for running BroadcastReceiver code off the main thread in a shared threadpool.
Implement receive to run your receiver in a background thread.
Public Member Functions | |
final void | onReceive (final Context context, final Intent intent) |
Overrides BroadcastReceiver's onReceive to post a new Runnable to the threadpool. More... | |
abstract void | receive (Context context, Intent intent) |
Implement this with your BroadcastReceiver code. More... | |
final void com.speedify.speedifysdk.PooledBroadcastReceiver.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 |