warning property
WarningCallback?
warning
getter/setter pair
Reports a warning during SDK runtime.
In most cases, the app can ignore the warning reported by the SDK because the SDK can usually fix the issue and resume running.
For instance, the SDK may report a WarningCode.LookupChannelTimeout warning upon disconnection with the server and tries to reconnect. For detailed warning codes, see WarningCode.
The WarningCallback
typedef includes the following parameter:
- WarningCode
warn
: Warning code.
Implementation
WarningCallback? warning;