Contents

DeviceLockCommand.Command

The command to remotely and immediately lock a device.

Declaration

object DeviceLockCommand.Command

Properties

NameTypeDescription
Messagestring

The message to display on the Lock Screen of the device. This value doesn’t apply to a Shared iPad device. This value is available in iOS 4 and later, and macOS 10.14 and later.

PhoneNumberstring

The phone number to display on the Lock Screen. This value doesn’t apply to a Shared iPad device. This value is available in iOS 7 and later and macOS 11.5 and later (for a Mac with Apple silicon only).

PINstring

The six-character PIN for Find My. This value is available in macOS 10.8 and later.

RequestRequiresNetworkTetherboolean

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

RequestType Requiredstring

The request type for this command.