chirpsdk / io.chirp.chirpsdk / ChirpSDK / send

send

fun send(payload: ByteArray): ChirpError

Send data. The data parameter must be a ByteArray that is within the size of the maximum payload size set by the config. You can check the maximum payload size using the maxPayloadLength method. You can also check if the payload is valid with isValidPayload method

See Also

isValidPayload

maxPayloadLength

io.chirp.chirpsdk.models.ChirpError

Return
ChirpError