title | description | ms.date |
---|---|---|
AutoplayType |
AutoplayType |
04/20/2017 |
[!includeMBAE deprecation warning]
The AutoplayType element specifies whether the AutoPlay event is a device event or a content event. AutoPlay determines the type of device and raises either a Device event for non-volume devices, or a Content event for volume devices.
<AutoplayType>
type
</AutoplayType>
There are no attributes.
A string that has either the value "Device" or the value "Content".
There are no child elements.
Element | Description |
---|---|
Specifies a UWP device app that should appear as the recommended AutoPlay action when a user plugs in a device. |
<xs:element name="AutoplayType" type="tns:AutoplayTypeType" />
<xs:simpleType name="AutoplayTypeType">
<xs:restriction base="xs:string">
<xs:enumeration value="Device" />
<xs:enumeration value="Content" />
</xs:restriction>
</xs:simpleType>
The AutoplayType element is optional.