execute

fun execute(context: Context, callback: Runnable? = null)(source)

Executes the request.

Parameters

context

The application context.

callback

The callback.


suspend fun execute(context: Context)(source)

Executes the request on AirshipDispatchers.IO, suspending until it completes or the max callback wait time elapses.

Once the max callback wait time elapses this returns, and the request keeps running in the background.

Parameters

context

The application context.