play abstract method

Future<void> play()

Plays the media file.

After calling open or seek, you can call this method to play the media file.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> play();