public class MusicBean
extends java.lang.Object
构造器和说明 |
---|
MusicBean(org.json.JSONObject jsonObject) |
MusicBean(long id,
java.lang.String title,
java.lang.String dataPath,
java.lang.String album,
java.lang.String artist,
int duration,
long size,
android.net.Uri musicUri) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlbum() |
java.lang.String |
getArtist() |
int |
getCurDuration() |
java.lang.String |
getDataPath() |
int |
getDuration() |
long |
getId() |
org.json.JSONObject |
getJSONOB() |
android.net.Uri |
getMusicUri() |
long |
getSize() |
java.lang.String |
getTitle() |
int |
hashCode() |
boolean |
isAddLocal() |
boolean |
isMusicIng() |
boolean |
isSelect() |
void |
setAddLocal(boolean addLocal) |
void |
setCurDuration(int curDuration) |
void |
setMusicIng(boolean musicIng) |
void |
setSelect(boolean select) |
java.lang.String |
toString() |
public MusicBean(long id, java.lang.String title, java.lang.String dataPath, java.lang.String album, java.lang.String artist, int duration, long size, android.net.Uri musicUri)
public MusicBean(org.json.JSONObject jsonObject)
public android.net.Uri getMusicUri()
public int getCurDuration()
public void setCurDuration(int curDuration)
public long getId()
public java.lang.String getTitle()
public java.lang.String getDataPath()
public java.lang.String getAlbum()
public boolean isAddLocal()
public void setAddLocal(boolean addLocal)
public java.lang.String getArtist()
public int getDuration()
public long getSize()
public boolean isMusicIng()
public void setMusicIng(boolean musicIng)
public boolean isSelect()
public void setSelect(boolean select)
public java.lang.String toString()
toString
在类中 java.lang.Object
public org.json.JSONObject getJSONOB()
public boolean equals(java.lang.Object o)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object