play
Plays the media file.
virtual int play() = 0;
Timing
- Call this method after calling open or openWithMediaSource to open the media file and receiving the onPlayerSourceStateChanged callback reporting the state as
PLAYER_STATE_OPEN_COMPLETED. - Call this method after calling seek.
Return Values
- 0: The method call succeeds.
- < 0: The method call fails.