Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Declares a capability required by a package.
Element hierarchy
<uap3:Capability>
Syntax
<uap3:Capability
Name = 'A string that can have one of the following values: "backgroundMediaPlayback" or "userNotificationListener".' />
Attributes and elements
Attributes
| Attribute | Description | Data type | Required | Default value |
|---|---|---|---|---|
| Name | The name of the capability. | A string that can have one of the following values: backgroundMediaPlayback or userNotificationListener. | Yes |
Child elements
None.
Parent elements
| Parent Element | Description |
|---|---|
| Capabilities | Declares the access to protected user resources that the package requires. |
Examples
<Package
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
IgnorableNamespaces="uap3">
<Capabilities>
<uap3:Capability
Name="backgroundMediaPlayback"/>
<uap3:Capability
Name="userNotificationListener"/>
</Capabilities>
</Package>
Requirements
| Item | Value |
|---|---|
| Namespace | http://schemas.microsoft.com/appx/manifest/uap/windows10/3 |
| Minimum OS Version | Windows 10 version 1607 (Build 14393) |