getSignalingPlugin method

ZegoUIKitSignalingPluginImpl getSignalingPlugin()
inherited

signal plugin

Implementation

ZegoUIKitSignalingPluginImpl getSignalingPlugin() {
  /// make sure core data's stream had created
  ZegoSignalingPluginCore.shared.coreData.initData();

  assert(
      ZegoPluginAdapter().signalingPlugin != null,
      'ZegoUIKitSignalingPluginImpl: ZegoUIKitPluginType.signaling is null, '
      'plugins should contain ZegoUIKitSignalingPlugin');

  return ZegoUIKitSignalingPluginImpl.shared;
}