Capabilities Object
Provides a way for an HTML application to discover whether certain system capabilities and resources are available on the device that the code is running on.
Note Hosted HTML has been deprecated. To use the new features of the Windows Media Center SDK, you must develop a Windows Media Center Presentation Layer application. 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.
The Capabilities object exposes the following properties:
Property | Description |
IsAudioAllowed | Gets a value that indicates whether the system supports audio playback. |
IsConsole | Gets a value that indicates whether the HTML application is currently running on the Media Center PC. |
IsDirectXAllowed | Gets a value that indicates whether the current HTML page can use Microsoft DirectX. |
IsDisplayTV | Gets a value that indicates whether the TV is the current output device. |
IsIntensiveRenderingAllowed | Gets a value that indicates whether the current HTML application can use intensive rendering components, such as Adobe Flash. |
IsVideoAllowed | Gets a value that indicates whether the system supports video playback. |
See Also