Share via


MediaCenter.MediaCenterControlLevel Property

Gets the current settings that determine the level of control that HTML applications have over Windows Media Center.

Note   This property has been deprecated.

Syntax

  MediaCenter.MediaCenterControlLevel

Property Value

A read-only Number (long) that indicates the control level. It must be a combination of the following values:

Value Description
0 HTML applications cannot control or query Windows Media Center.
1 HTML applications can control Windows Media Center and display notifications.
2 HTML applications can retrieve settings that indicate the current status of Windows Media Center.
4 HTML applications can retrieve Windows Media Center metadata, including the user's postal code.

Remarks

The Windows Media Center UI includes settings that enable the user to place restrictions on HTML applications for reasons of security and privacy. These settings determine whether HTML applications are allowed to control Windows Media Center or retrieve its settings.

This property throws an exception if the Control the media experience in Windows Media Center checkbox (in Tasks > Settings > General > Program Library Options) is not selected.

Requirements

Platform: HTML application hosted within Windows XP Media Center Edition 2005 through Windows Vista

See Also