onError method Null safety

void onError(
  1. int code
)

Get notified when a warning occurs. The callback is triggered to report a warning related to network or media when the SDK is running. In most cases, the app ignores warning messages and the SDK resumes running

Implementation

void onError(int code);