Version: 2022.1

WSATargetFamily

enumeration

切换到手册

描述

Options for the set of Universal Windows Platform device families your application can directly support.

A device family identifies the APIs, system characteristics, and behaviors across a class of devices. It also determines the set of devices on which users can install your application from the Microsoft Store. By default, your application targets the Universal device family. To do this, Microsoft Visual Studio sets Windows.Universal for TargetDeviceFamily.
For more information, see Microsoft’s Device families overview.
Important: Unity writes target families to the package manifest when it builds Universal Windows Platform for the first time. Building into an existing Universal Windows Platform build folder does not update the package manifest and does not apply any changes.

变量

DesktopTargets a device family that includes Desktop PCs, laptops, and tablet devices.
MobileTargets a device family that includes smartphone devices.
XboxTargets a device family that includes Xbox consoles.
HolographicTargets a device family that includes HoloLens devices.
TeamTargets a device family that includes the Surface Hub.
IoTTargets a device family that includes Internet-of-Things (IoT) devices.
IoTHeadlessTargets a device family that includes Internet-of-Things (IoT) devices without any UI.