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.

Available: iOS 7+ | iPadOS 7+ | macOS 10.14+ | watchOS 10+

PhoneNumberstring

The phone number to display on the Lock Screen. This value doesn’t apply to a Shared iPad device. This value is available for a Mac with Apple silicon only.

Available: iOS 7+ | iPadOS 7+ | macOS 11.5+ | watchOS 10+

PINstring

The six-character PIN for Find My.

Available: macOS 10.8+

RequestRequiresNetworkTetherboolean

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

RequestType Requiredstring

The request type for this command.