Speedify SDK for Android  15.0.0
Public Member Functions | List of all members
com.speedify.speedifysdk.PooledBroadcastReceiver Class Referenceabstract

Detailed Description

Helper class for running BroadcastReceiver code off the main thread in a shared threadpool.

Implement receive to run your receiver in a background thread.

Since
7.2
Inheritance diagram for com.speedify.speedifysdk.PooledBroadcastReceiver:
com.speedify.speedifysdk.StartupBroadcastReceiver com.speedify.speedifysdk.StateTrackingSBR

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...
 

Member Function Documentation

◆ onReceive()

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.

Parameters
contextContext
intentThe received intent

◆ receive()

abstract void com.speedify.speedifysdk.PooledBroadcastReceiver.receive ( Context  context,
Intent  intent 
)
abstract

Implement this with your BroadcastReceiver code.

This takes the place of BroadcastReceiver's onReceive in your code.

Parameters
contextContext
intentThe received intent
Since
7.2

The documentation for this class was generated from the following file: