The IRtcEngineEvent interface. Used for merging the callback interfaces corresponding to the objects in IRtcEngine.

export type IRtcEngineEvent = IRtcEngineEventHandler &
  IDirectCdnStreamingEventHandler &
  IMetadataObserver &
  IAudioEncodedFrameObserver &
This interface merges the following interfaces: You can call the addListener, removeListener, and removeAllListeners methods to add or remove the listeners for the callback events under the interfaces mentioned above.