ISDBApplicationEvents::OnPause

From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBApplication, Interface ISDBApplicationEvents

Sub OnPause


Event description

This event is called whenever the Pause function is called.

The Pause function is a toggle. If a track was playing, the track will now be paused; if the track was paused, the track will have resumed playback. Therefore, if the current playback state is important, you should check the state of SDB.Player.isPaused (and maybe also SDB.Player.isPlaying) on receipt of this event.

(TBD: what happens if Pause is called while playback is stopped?)