title Property

This property returns the title of the currently playing track.

intel.xdk.playingtrack.title

Example:


document.addEventListener("intel.xdk.player.track.change",onTrackChanged,false);
function onTrackChanged(e)
{
        //The track has just changed
        alert("The new track's artist: " + intel.xdk.playingtrack.artist);
        alert("The new track's title: " + intel.xdk.playingtrack.title); 
        alert("The new track's album name: " + intel.xdk.playingtrack.album);
        alert("The new track's image: " + intel.xdk.playingtrack.imageurl);
}
             
For more complete information about compiler optimizations, see our Optimization Notice.