onMediaDataPublisherFileOpen property

(void Function(ZegoMediaDataPublisher mediaDataPublisher, String path)?) onMediaDataPublisherFileOpen
read / write

The event callback of the media data publisher opening a media file.

Available since: 2.17.0 Description: The event callback of the media data publisher opening a media file. Trigger: The callback triggered when the media data publisher start loading a media file. Restrictions: None.

  • mediaDataPublisher Callback publisher object
  • path Path of currently open file

Implementation

static void Function(ZegoMediaDataPublisher mediaDataPublisher, String path)?
    onMediaDataPublisherFileOpen;