Media Center Front Panel Display SDK
IFrontPanelDisplay.CDSession Method A CD Session is created when the user starts listening to Music from the library (as opposed to a CD). It closes when the user starts another type of media session.
void CDSession(
Transport currentTransport ,
int trackNumber ,
int totalTracks ,
DateTime trackDuration ,
DateTime elapsedTime ,
string artistName ,
string albumName ,
string trackName ,
bool shuffle ,
bool repeat ,
bool visualization );
Parameters currentTransport The current transport state. trackNumber Current track number. totalTracks Total tracks in set (playlist, album, etc.) trackDuration Length of current track. elapsedTime Time past start of track. This value is reported every second with the value incremented. artistName Artist name of current track, is sent when track starts. albumName Album name of currently track, is sent when track starts. trackName Name of current track, is sent when track starts. shuffle True when shuffle is enabled. repeat True when repeat is enabled. visualization True when visualizations are enabled. See Also IFrontPanelDisplay Interface | MediaCenterSinkSDK Namespace