chirpsdk / io.chirp.chirpsdk / ChirpSDK / onReceiving

onReceiving

fun onReceiving(onReceivingCallback: (channel: Int) -> Unit): Unit

Set onReceiving Unit callback. Will be triggered when a payload will be detected. Will be followed by onReceived callback

Parameters

onReceivingCallback - Unit callback with channel argument.