PayloadKit

AirPlay Security

com.apple.airplay.security

The payload that configures Apple TV for a particular style of AirPlay security.

tvOS
exclusive

Configuration Keys (3)

KeyTypeTitle
AccessTyperequired

The access policy for AirPlay. 'ANY' allows connections from both Ethernet, Wi-Fi, and Apple Wireless Direct Link. 'WIFI_ONLY' allows connections only from devices on the same Ethernet or Wi-Fi network as Apple TV.

Range: Any device (ANY), Devices on the same network only (WIFI_ONLY)

stringAccess Type
SecurityTyperequired

The security policy for AirPlay. Allowed values: - 'PASSCODE_ONCE': Requires an onscreen passcode on first connection from a device. Subsequent connections from the same device aren't prompted. - 'PASSCODE_ALWAYS': Requires an onscreen passcode for every AirPlay connection. After an AirPlay connection ends, the system allows reconnecting within 30 seconds without a password. - 'PASSWORD': Requires the passphrase set for 'Password'. Note: 'NONE' was deprecated in tvOS 11.3. Existing profiles that use 'NONE' get the 'PASSWORD_ONCE' behavior.

Range: None (deprecated since tvOS 11.3) (NONE), First-time passcode (PASSCODE_ONCE), Passcode (PASSCODE_ALWAYS), Password (PASSWORD)

stringSecurity Type
Password

The AirPlay password; required if 'SecurityType' is 'PASSWORD'.

Depends on: SecurityType ∈ [PASSWORD]

stringPassword