Back to project page MusicPlayer.
The source code is released under:
MIT License
If you think the Android project MusicPlayer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.dsvoronin.musicplayer; //from w w w .j av a 2 s. co m /** * Created by dsvoronin on 25/02/14. */ abstract class PlayerState { protected MusicPlayerService service; protected PlayerState(MusicPlayerService service) { this.service = service; } abstract void onActivated(); abstract void onDeactivated(); abstract void play(int id); abstract void pause(); }