Interface ITrackPlayer

  • All Known Implementing Classes:
    TrackPlayer

    public interface ITrackPlayer
    Interface for playing sound.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2015 Created on Jun 23, 2015
    • 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.