onLocalDeviceExceptionOccurred property
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.
exceptionType
The type of the device exception.deviceType
The type of device where the exception occurred.deviceID
Device 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;