stop()

Class: MediaPlayer.

Description:

Makes media player stop the playback. Seek time resets to 0, so play() function would start the playback from beginning.

Parameters:

No parameters

Returns:

Returns this component instance.

Type: MediaPlayer