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 www. j ava 2 s. co m import android.os.Parcelable; /** * An interface for song model */ public interface Playable extends Parcelable { /** * some id to identify song in list */ public int getId(); /** * song name to be displayed in notification. Like "Artist - Title" */ public String getName(); /** * must be valid link to audio file in web */ public String getUrl(); /** * track duration in seconds if available */ public int getDurationSec(); }