AutoplayType
MBAE 弃用警告
重要
从 Windows 10 版本 1803 开始,MBAE 应用体验将替换为 MO UWP 应用。 有关 MO UWP 应用的详细信息,请参阅 UWP 移动宽带应用。
AutoplayType 元素指定自动播放事件是设备事件还是内容事件。 自动播放确定设备的类型,并引发非卷设备的 Device 事件或卷设备的 Content 事件。
用法
<AutoplayType>
type
</AutoplayType>
Attributes
没有属性。
文本值
具有值“Device”或值“Content”的字符串。
子元素
没有子元素。
父元素
元素 | 说明 |
---|---|
指定在用户插入设备时应显示为建议的自动播放操作的 UWP 设备应用。 |
Xsd
<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>
备注
AutoplayType 元素是可选的。