chirpsdk / io.chirp.chirpsdk / ChirpSDK / isValidPayload

isValidPayload

fun isValidPayload(payload: ByteArray): ChirpError

Check whether a payload is valid and able to be sent using the ChirpSDK as it is currently configured via its config.

Parameters

payload - ByteArray data

Return
Boolean true if payload is valid, false if payload is invalid.