onWarning method Null safety
- int code
Get notified when an error occurs The callback is triggered to report an error related to network or media when the SDK is running. In most cases, the SDK cannot fix the issues and resume running. The SDK requires the app to take action or informs users of the issue.
Implementation
void onWarning(int code);