togglePlayPause

public final static Unit togglePlayPause()

Toggles between two modes: paused and playing This is mainly used when the user pauses the player and then wants to resume the song If the mediaPlayer is paused, it starts playing and vice versa