

Raised when the user navigates back to a page in an HTML application after having previously navigated away from the application. Raised when the user presses a navigation key on the remote control. Raised when the state of the current media changes. Raised when the system resumes operation after being suspended.
#Mediacenter 2008 windows
Raised when Windows Media Center loads an HTML page. The MediaCenter object supports the following events: Event
#Mediacenter 2008 tv
Issues a request to Windows Media Center to record a TV program. Returns Windows Media Center to the HTML application that calls this method.

Registers or unregisters an HTML application. This method can place the item into the queue or immediately begin playing the item as the current media experience.

Loads a new media item into Windows Media Center. Loads a new media item into Windows Media Center as the current media experience. Returns a value that indicates whether the calling application already has a particular entry point registered with Windows Media Center.ĭirects Windows Media Center to navigate to the specified page in the Windows Media Center user interface. Indicates whether an MCL file already exists for a particular HTML application category.įinds TV programs that are currently being broadcast.įinds TV services by call sign or description. Shows a modeless notification dialog box.
#Mediacenter 2008 code
Removes an entry point shortcut from Windows Media Center.ĭisplays a Windows Media Center-style dialog box that has a caption, body text, buttons, and a time-out duration.ĭisplays a Windows Media Center-style dialog box that can contain custom buttons and images, and can pass a result code to an application-defined event handler. The MediaCenter object exposes the following methods: MethodĪdds a specified song the user's song queueĭisplays a dialog box explaining that the user has invoked an operation that must be performed from the web browser on the Windows Media Center PC, and not from within the Windows Media Center shell.Īdds an entry point shortcut to Windows Media Center.Ĭreates a Windows Media Center link (MCL) shortcut file. Gets the SharedViewPort object representing the shared view port. Gets or sets a value indicating whether the current HTML page allows the screen saver to interrupt the media experience. Gets a ParentalControlSelector object used to select the type of parental control settings to query. Gets the minor version number of the MediaCenter object. Gets a MediaContext object representing the context from which the user selected an application's More With This entry point. Gets the current settings that determine the level of control that HTML applications have over Windows Media Center. Gets the major version number of the MediaCenter object. Gets a value that indicates whether the current Windows Media Center experience is in full-screen mode. Gets a value that indicates whether the calling application is the current foreground application in the Windows Media Center shell. Gets a value that indicates whether Windows Media Center is running on a computer for which the Windows high-contrast accessibility option is currently selected. Gets the Experience object representing the state of the currently playing media. Gets a value that indicates whether an HTML page receives the onLoad event when the user returns to the page after having navigated away from it. Gets a value that indicates whether Windows Media Center is running in the DirectX exclusive mode. Gets the CustomViewPort object representing the current state of the custom view port. Gets an application-defined string that is associated with an application entry point. Gets the Capabilities object representing the current capabilities of the system.

Sets the background color of the areas of Windows Media Center that are visible when an HTML application is running. Gets the AudioMixer object representing the current mute state and volume level. The MediaCenter object exposes the following properties: Property
#Mediacenter 2008 update
However, if you still want to develop a hosted HTML application or update an existing application, you can download and use the previous version of the Windows Media Center SDK from the Microsoft Download Center. To use the new features of the Windows Media Center SDK, you must develop a Windows Media Center Presentation Layer application. For example, an HTML application can use the object to add songs to the playlist, display Windows Media Center dialog boxes, and play a particular type of media. Enables HTML applications to access various Windows Media Center features and functionality that occur outside of the HTML host.
