Interface ITrackPlayer
-
- All Known Implementing Classes:
TrackPlayer
public interface ITrackPlayerInterface for playing sound.- Author:
- Andi Hotz, (c) Sahits GmbH, 2015 Created on Jun 23, 2015
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(IPlayableTrack track)Add a track to the playing queue.voidclearPlayList()Clear all queued tracks from the list.voidplay()Play the track queue.voidstop()Stop the playing.
-
-
-
Method Detail
-
add
void add(IPlayableTrack track)
Add a track to the playing queue.- Parameters:
track- to be added
-
clearPlayList
void clearPlayList()
Clear all queued tracks from the list.
-
play
void play()
Play the track queue. After a track is played it is removed from the queue.
-
stop
void stop()
Stop the playing.
-
-