onError property
SDK exception error notification.
Available since: 1.0.0 Description: When an exception is detected internally in the SDK, a notification will be thrown through this callback. Use case: It is used to facilitate developers to collect SDK problems and troubleshoot them. It is recommended to monitor the callback and do appropriate log printing or event reporting. Caution: It is not recommended that developers perform logic after listening to this callback. It is only recommended for collecting and troubleshooting problems.
Implementation
static void Function(ZIMAudioError errorInfo)? onError;