Media Center Front Panel Display SDK

IFrontPanelDisplay.TVSession Method 

A TV Session is created when the user starts watching TV from the TV Tuner (as opposed to a recorded show). It closes when the user starts another type of media session.

void TVSession(
   Transport currentTransport,
   int channelNumber,
   string tvShowName,
   DateTime tvShowDuration,
   DateTime elapsedTime,
   string parentalAdvisoryRating,
   bool recording
);

Parameters

currentTransport
The current transport state.
channelNumber
The current channel number.
tvShowName
Name of currently recorded show, is sent when recording starts.
tvShowDuration
The scheduled length of current show.
elapsedTime
The time elapsed since start of show, regardless of time of tuning to show. Can be incremented and decremented for FF, REW, SKIP.
parentalAdvisoryRating
The rating of the TV show, is a string such as "TV-G".
recording
True when a scheduled recording starts.

See Also

IFrontPanelDisplay Interface | MediaCenterSinkSDK Namespace