Contents

RequestMirroringCommand.Command

The command to prompt the user to share their screen using AirPlay Mirroring.

Declaration

object RequestMirroringCommand.Command

Properties

NameTypeDescription
DestinationDeviceIDstring

The hardware address of the AirPlay Mirroring destination that identifies the device, in the format xx:xx:xx:xx:xx. This value isn’t case-sensitive. Not available for Apple TV devices running tvOS 18 or later, use DestinationName instead.

DestinationNamestring

The name of the AirPlay Mirroring destination.

Passwordstring

The screen-sharing password that the device uses when connecting to the destination.

RequestRequiresNetworkTetherboolean

If true, the device needs to be network-tethered to run the command.

RequestType Requiredstring

The request type for this command.

ScanTimeinteger

The number of seconds, from 10 to 300, for the device to spend searching for the destination. The default value is 30.