AutoPlayDevice (extensions schema for Windows 8.1)

Declares an app extensibility point of type windows.autoPlayDevice. The app provides the specified AutoPlay device actions.

Element hierarchy

<Extension>
<AutoPlayDevice>

Syntax

<AutoPlayDevice>

  <!-- Child elements -->
  LaunchAction{1,1000}

</AutoPlayDevice>

Key

{}   specific range of occurrences

Attributes and Elements

Attributes

None.

Child Elements

Child Element Description
LaunchAction (in type: CT_AutoPlayDevice)

Describes an AutoPlay device action.

 

Parent Elements

Parent Element Description
Extension (type: CT_ApplicationExtension)

Declares an extensibility point for the app.

 

Remarks

When a device that is not volume-based is connected to a computer, the system raises an AutoPlay device event. This extensibility point enables your app to be listed as an AutoPlay choice for one or more AutoPlay device events. Because these devices are not volume-based, the system provides the app with device information rather than a file folder.

Examples

<Extension Category="windows.autoPlayDevice">
  <AutoPlayDevice>
    <LaunchAction Verb="startDeviceApp" ActionDisplayName="Start my device app" DeviceEvent="CustomDeviceEvent"/>
  </AutoPlayDevice>
</Extension>

See also

Tasks Auto-launching with AutoPlay

Concepts App contracts and extensions

Requirements

Value
Namespace http://schemas.microsoft.com/appx/2010/manifest