package gilday.android.powerhour.service; public interface IPowerHourService { /** * Pause command will change the power hour service's playing state to paused, will * end update notification, stop the music, and will pause the timer counting progress */ void playPause(); /** * Skip command will skip the current song and load the next without affecting power hour * progress. Returns the song ID of the loaded song. Returns -1 if there are no more songs * to load * @return */ int skip(); /** * Returns PLAYING, PAUSED to indicate state * @return */ int getPlayingState(); /** * @return number of seconds that have passed */ int getProgress(); /** * @return the ID of the song that is playing now */ int getCurrentSong(); }