onLocalDeviceExceptionOccurred property
void Function(ZegoDeviceExceptionType exceptionType, ZegoDeviceType deviceType, String deviceID)?
onLocalDeviceExceptionOccurred
getter/setter pair
The callback triggered when a local device exception occurred.
Available since: 2.15.0 Description: The callback triggered when a local device exception occurs. Trigger: This callback is triggered when the function of the local audio or video device is abnormal.
exceptionTypeThe type of the device exception.deviceTypeThe type of device where the exception occurred.deviceIDDevice ID. Currently, only desktop devices are supported to distinguish different devices; for mobile devices, this parameter will return an empty string.
Implementation
static void Function(
ZegoDeviceExceptionType exceptionType,
ZegoDeviceType deviceType,
String deviceID)? onLocalDeviceExceptionOccurred;