Version: 2022.1

WSACapability

enumeration

切换到手册

描述

Options for Universal Windows Platform application capabilities.

A Universal Windows Platform application must specify capabilities for the system resources and features it expects to use, such as access to the camera. Unity exposes a subset of these capabilities through Player Settings and automatically adds any set values to the generated package manifest file. For capability values that this Unity does not expose, you can add them by editing the package manifest file.
For information on Universal Windows Platform capabilities, see Microsoft's documentation.

Important: Unity writes application capabilities 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.

变量

EnterpriseAuthenticationAllows your application to use Windows domain credentials to log into remote resources.
InternetClientAllows your application to receive incoming data from the internet.
InternetClientServerAllows your application to both send and receive internet data.
MusicLibraryAllows your application to access files within the user's music library.
PicturesLibraryAllows your application to access files within the user's pictures library.
PrivateNetworkClientServerAllows your application to send and receive data on the local area network.
RemovableStorageAllows your application to access files on removable storage, such as a USB drive or external hard drive.
SharedUserCertificatesAllows your application to add and access software and hardware-based certificates in the shared user data store.
VideosLibraryAllows your application to access files with the user's video library.
WebCamAllows your application to access the video feed of built-in and external webcams.
ProximityAllows your application to initiate connections between multiple devices in close proximity to communicate with one another.
MicrophoneAllows your application to access the audio feed of microphones connected to the device.
LocationAllows your application to access the device's location functionality if one is available.
HumanInterfaceDeviceAllows your application to interact with connected Human Interface Devices (HIDs).
AllJoynAllows your application AllJoyn-enabled applications and devices on a network to discover and interact with each other.
BlockedChatMessagesAllows your application to access SMS and MMS messages that the Spam Filter blocks.
ChatAllows your application to read and delete text messages, and store messages in the system data store.
CodeGenerationAllows your application to access specific APIs that provide just-in-time compilation.
Objects3DAllows your application to access files within the Windows 3D Object folder.
PhoneCallAllows your application to access all of the phone lines on the device and perform various functions.
UserAccountInformationAllows your application to access the end user's name and picture.
VoipCallAllows your application to access voice over internet protocol (VoIP) calling APIs in the Windows.ApplicationModel.Calls namespace.
BluetoothAllows your application to communicate with Bluetooth devices paired with the device.
SpatialPerceptionAllows your application to access spatial mapping data through a mixed reality device.
InputInjectionBrokeredAllows your application to inject various forms of input such as HID, touch, pen, keyboard, or mouse into the system programmatically.
AppointmentsAllows your application to access the end user's appointment store.
BackgroundMediaPlaybackAllows your application to continue media playback while the application is in the background.
ContactsAllows your application limited access to an aggregated view of contacts from various contacts
LowLevelDevicesAllows your application to access custom devices that meet Microsoft-set requirements.
OfflineMapsManagementAllows your application to access offline maps.
PhoneCallHistoryPublicAllows your application to read cellular and some voice over internet protocol (VoIP) call history information on the device.
PointOfServiceAllows your application to access APIs in the Windows.Devices.PointOfService namespace.
RecordedCallsFolderAllows your application to access the recorded calls folder.
RemoteSystemAllows your application to access a list of devices associated with the user's Microsoft account.
SystemManagementAllows your application to use basic system administration privileges. This includes shutting down or rebooting the device and accessing the locale and time zone.
UserDataTasksAllows your application to access the current state of the task settings.
UserNotificationListenerAllows your application to access the current state of the notification settings.
GazeInputAllows your application to detect where the user is looking when their device is connected to a compatible eye-tracking device.