getExtension method

  1. @override
dynamic getExtension(
  1. TUIExtensionType extensionType
)
override

12.4 Get Extension

Implementation

@override
dynamic getExtension(TUIExtensionType extensionType) {
  _engineNative.getExtension(extensionType);
  switch (extensionType) {
    case TUIExtensionType.deviceManager:
      return getMediaDeviceManager();
    case TUIExtensionType.liveListManger:
      return _getLiveListManger();
    case TUIExtensionType.conferenceListManager:
      return _getConferenceListManger();
    default:
      return null;
  }
}