setOnCloseCallback

fun setOnCloseCallback(callback: () -> Unit?)

Sets the callback to be invoked when the phone app is closing.

Parameters

callback

The callback to invoke, or null to clear

See also