we have to call a static Method create() of this class. This method returns an instance of MediaPlayer class. Its syntax is as follows Once you have created the Mediaplayer object you can call some methods to start or stop the music. These methods are listed below.