onError property
OnError
onError
getter/setter pairinherited
1.1 Error Event Callback
Error Event Callback - Indicates unrecoverable errors thrown by the SDK, such as failed room entry or device opening failure.
errorCode Error Code - Refer to TUIError Enumeration Definition for details.
message Error Information
Implementation
OnError onError = (TUIError errorCode, String message) {};