src/main/java/org/intellimate/izou/sdk/frameworks/music/player/Playlist.java
public TrackInfo getCurrent() {
        TrackInfo trackInfo = null;
        try {
            trackInfo = queue.get(position);
        } catch (IndexOutOfBoundsException e) {
            trackInfo = null;
        }
        return trackInfo;
    }
public TrackInfo getCurrent() {
        TrackInfo trackInfo = null;
        try {
            trackInfo = queue.get(position);
        } catch (IndexOutOfBoundsException e) {
            trackInfo = null;
        }
        return trackInfo;
    }
public TrackInfo getCurrent ( ) { TrackInfo trackInfo = null ; try { trackInfo = queue . get ( position ) ; } catch ( IndexOutOfBoundsException e ) { trackInfo = null ; } return trackInfo ; }
returns the current played track or null
@return an instance of TrackInfo
returns the current played track or null