[This is preliminary documentation and is subject to change.]
The Queue type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Queue(Queue) |
Constructor for deep copying
| |
| Queue(Playlist, Int32) |
Constructor makes next song queue and previous song queue given playlist
|
Methods
| Name | Description | |
|---|---|---|
| addNextSong |
Adds a song to next queue
| |
| addPrevSong |
Adds a song to the previous queue
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| getNextSong |
Gets the song at the front of the next song queue and also removes it
| |
| getPlaylistLen |
Gets the number of songs in the playlist
| |
| getPlaylistName |
Gets the name of the playlist
| |
| getPlaylistPath |
Gets the path of the playlist xml file
| |
| getPrevSong |
Gets the song at the front of the previous song queue (the most recently played song) and also removes it
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| nextSongQueue | the next song queue for the playlist | |
| playlist | the playlist for which this queue was created | |
| prevSongLimit | the number of songs the previous song queue can hold | |
| prevSongQueue | the previous song queue for the playlist |