DeviceCapability

Applies to Windows and Windows Phone

Declares a device capability required by a package.

Element hierarchy

<DeviceCapability>

Syntax

<DeviceCapability Name = A string between 1 and 50 characters in length or a GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. >

  <!-- Child elements -->
  Device{1,100}

</DeviceCapability>

Key

{}   specific range of occurrences

Attributes and Elements

Attributes

AttributeDescriptionData typeRequiredDefault value
Name

The name of the device capability, either specified as a friendly name or a device interface class GUID.

A string between 1 and 50 characters in length or a GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.Yes

 

Child Elements

Child ElementDescription
Device

Declares a function for a device that is associated with the DeviceCapability.

 

Parent Elements

This outermost (document) element may not be contained by any other elements.

Remarks

This table lists device capabilities by name that are supported starting with the app package manifest for Windows 8.1 Windows Store apps.

Device capabilityDescription
appointmentsProvides access to the user's appointment store.
contactsProvides access to the aggregated view of the contacts from various contacts stores.

 

For info about device capabilities that are supported starting with the app package manifest for Windows 8 Windows Store apps, see DeviceCapability.

For more info about capability declarations, see App capability declarations.

Requirements

Namespace

http://schemas.microsoft.com/appx/2013/manifest

 

 

Show:
© 2014 Microsoft