C# 클래스 Music.TrackManager

The class used for managing the play queue
파일 보기 프로젝트 열기: rit-sse-mycroft/app-music

공개 메소드들

메소드 설명
AddAlbum ( Album album ) : System.Threading.Tasks.Task

Adds an album to the end of the play queue

AddTrack ( Track track ) : void

Adds a track to the end of the play queue

Clear ( ) : void

Clears the entire play queue

Dequeue ( ) : Track

Gets the next song to play in the play queue

IsEmpty ( ) : bool

Is the play queue Empty?

PlayAlbum ( Album album ) : Task

Adds an album to the beginning of the play queue

PlayTrack ( Track track ) : Track

Adds the track to the beginning of the play queue

TrackManager ( ) : SpotiFire

Create a new Track Maangager

메소드 상세

AddAlbum() 공개 메소드

Adds an album to the end of the play queue
public AddAlbum ( Album album ) : System.Threading.Tasks.Task
album Album The album to add
리턴 System.Threading.Tasks.Task

AddTrack() 공개 메소드

Adds a track to the end of the play queue
public AddTrack ( Track track ) : void
track Track The track to add
리턴 void

Clear() 공개 메소드

Clears the entire play queue
public Clear ( ) : void
리턴 void

Dequeue() 공개 메소드

Gets the next song to play in the play queue
public Dequeue ( ) : Track
리턴 Track

IsEmpty() 공개 메소드

Is the play queue Empty?
public IsEmpty ( ) : bool
리턴 bool

PlayAlbum() 공개 메소드

Adds an album to the beginning of the play queue
public PlayAlbum ( Album album ) : Task
album Album The album to add
리턴 Task

PlayTrack() 공개 메소드

Adds the track to the beginning of the play queue
public PlayTrack ( Track track ) : Track
track Track The track to add
리턴 Track

TrackManager() 공개 메소드

Create a new Track Maangager
public TrackManager ( ) : SpotiFire
리턴 SpotiFire