onEncryptionError property
(void Function(RtcConnection connection, EncryptionErrorType errorType)?)
onEncryptionError
final
Reports the built-in encryption errors. When encryption is enabled by calling enableEncryption , the SDK triggers this callback if an error occurs in encryption or decryption on the sender or the receiver side.
connection
The connection information. See RtcConnection .
Implementation
final void Function(RtcConnection connection, EncryptionErrorType errorType)?
onEncryptionError;