stop abstract method

Future<void> stop()

Stops playing the media track.

After calling this method to stop playback, if you want to play again, you need to call open or openWithMediaSource to open the media resource.

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> stop();