public class TuneEventQueue extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
TuneEventQueue.Add |
protected class |
TuneEventQueue.Dump |
Constructor and Description |
---|
TuneEventQueue(Context context,
Tune tune) |
Modifier and Type | Method and Description |
---|---|
protected String |
getKeyFromQueue(String key)
Returns a specific item from the queue, without deleting the item.
|
protected int |
getQueueSize()
Returns the current event queue size.
|
protected void |
removeKeyFromQueue(String key)
Removes a specific item from the queue.
|
protected void |
setQueueItemForKey(JSONObject item,
String key)
Sets the values for a particular queue key.
|
protected void |
setQueueSize(int size)
Sets the event queue size to value.
|
protected void setQueueSize(int size)
size
- the new queue sizeprotected int getQueueSize()
protected void removeKeyFromQueue(String key)
protected String getKeyFromQueue(String key)
protected void setQueueItemForKey(JSONObject item, String key)