Media Center Front Panel Display SDK

IFrontPanelDisplay.VideoSession Method 

A Video Session is created when the user starts watching a video from the My Videos area of Media Center. It closes when the user starts another type of media session.

void VideoSession(
   Transport currentTransport,
   string videoName,
   DateTime videoDuration,
   DateTime elapsedTime
);

Parameters

currentTransport
The current transport state.
videoName
Name of currently playing video, is sent when the video starts.
videoDuration
Length of current video.
elapsedTime
Time past start of video. This value is reported every second with the value incremented.

See Also

IFrontPanelDisplay Interface | MediaCenterSinkSDK Namespace