onReady

fun onReady(onReady: Airship.() -> Unit)(source)

Adds a callback to be invoked when the SDK is ready. The callback will always be dispatched on Dispatchers.Main.

Parameters

onReady

The lambda to be invoked when Airship is ready.


Adds a callback to be invoked when the SDK is ready. The callback will always be dispatched on Dispatchers.Main.

Parameters

callback

The callback to be notified when Airship is ready.