|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gbanga.api.Sound
public class Sound
A sound composition.
For the JSON object serialization, the field names are used. Eg.
{
id: 1234,
melody: "d1e5a1",
url: "http://my.sound.org/melody.mp3"
}
Fields annotated with PrimaryKey are used, if not the whole object is sent. HideIfNull indicates that the field is not sent at all, if the value is not set.
| Field Summary | |
|---|---|
long |
id
The unique identifier for this melody. |
java.lang.String |
melody
The tunes of this sound. |
java.lang.String |
url
The location of the sound to stream from. |
| Constructor Summary | |
|---|---|
Sound()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@PrimaryKey public long id
public java.lang.String melody
public java.lang.String url
| Constructor Detail |
|---|
public Sound()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||