takeSnapshot abstract method

Future<ZegoMediaPlayerTakeSnapshotResult> takeSnapshot()

Take a screenshot of the current playing screen of the media player.

Only in the case of calling setPlayerCanvas to set the display controls and the playback state, can the screenshot be taken normally Note: This function is only available in ZegoExpressVideo SDK!

Implementation

Future<ZegoMediaPlayerTakeSnapshotResult> takeSnapshot();