Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PlayerSettings.WSACapability

Options for Universal Windows Platform application capabilities.
Read time 4 minutesLast updated 10 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum PlayerSettings.WSACapability

Remarks

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 Unity doesn't expose, you can add them by editing the package manifest file. For information on Universal Windows Platform capabilities, refer to 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 doesn't update the package manifest and doesn't apply any changes.
Use PlayerSettings.WSA.SetCapability to include or remove a capability in the UWP build and PlayerSettings.WSA.GetCapability to check whether a capability is set.

Fields

Value

Description

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