AutoPlayContent (extensions schema for Windows 8.1)

Declares an app extensibility point of type windows.autoPlayContent. The app provides the specified AutoPlay content actions.

Element hierarchy

<Extension>
<AutoPlayContent>

Syntax

<AutoPlayContent>

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

</AutoPlayContent>

Key

{}   specific range of occurrences

Attributes and Elements

Attributes

None.

Child Elements

Child Element Description
LaunchAction (in type: CT_AutoPlayContent)

Describes an AutoPlay content action.

 

Parent Elements

Parent Element Description
Extension (type: CT_ApplicationExtension)

Declares an extensibility point for the app.

 

Remarks

When a volume-based device is connected to a computer or a disc is inserted into a CD or DVD drive, the system raises an AutoPlay content event. This extensibility point enables your app to be listed as an AutoPlay choice for one or more AutoPlay content events.

You can use any value for the Verb attribute except, open, which is reserved.

Examples

<Extension Category="windows.autoPlayContent">
  <AutoPlayContent>
    <LaunchAction Verb="show" ActionDisplayName="Show Pictures" ContentEvent="ShowPicturesOnArrival"/>
  </AutoPlayContent>
</Extension>

See also

Tasks Auto-launching with AutoPlay

Concepts App contracts and extensions

Requirements

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