chirpsdk / io.chirp.chirpsdk / ChirpSDK / onSending

onSending

fun onSending(onSendingCallback: (payload: ByteArray, channel: Int) -> Unit): Unit

Set onSending Unit callback. Will be triggered when a payload will start to be playing. Will be followed by onSent callback

Parameters

onSendingCallback - Unit callback with payload and channel arguments.