chirpsdk / io.chirp.chirpsdk / ChirpSDK / onSent

onSent

fun onSent(onSentCallback: (payload: ByteArray, channel: Int) -> Unit): Unit

Set onSent Unit callback. Will be triggered when a payload is sent.

Parameters

onSentCallback - Unit callback with payload and channel arguments.