onError property
Reports an error during SDK runtime.
This callback indicates that an error (concerning network or media) occurs during SDK runtime. In most cases, the SDK cannot fix the issue and resume running. The SDK requires the app to take action or informs the user about the issue.
errError code. See ErrorCodeType.msgThe error message.
Implementation
final void Function(ErrorCodeType err, String msg)? onError;