onExtensionAccessError method
@valid since 3.52
@detail callback
@brief Failed to access the extension.
RTC SDK provides some features with extensions. Without implementing the extension, you cannot use the corresponding feature.
@param extensionName The name of extension.
@param msg Error message.
Implementation
FutureOr<void> onExtensionAccessError(
dynamic extensionName, dynamic msg) async {
if ($instance == null || $instance is! IRTCEngineEventHandler) {
return;
}
return ($instance as IRTCEngineEventHandler)
.onExtensionAccessError
?.call(extensionName.toString(), msg.toString());
}