warning property Null safety

WarningCallback? warning
read / write

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:

Implementation

WarningCallback? warning;