listenForAudioPlayerEvents method

Future<void> listenForAudioPlayerEvents()

Implementation

Future<void> listenForAudioPlayerEvents() async {
  EventChannel eventChannel =
      EventChannel("tv.mta/NativeAudioEventChannel", JSONMethodCodec());
  eventChannel.receiveBroadcastStream().listen(_processEvent);
}