mirror of
https://github.com/apple/device-management.git
synced 2026-08-13 03:50:19 +02:00
44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
title: Play Lost Mode Sound Command
|
|
description: Play the Lost Mode sound on a device that's in Lost Mode.
|
|
payload:
|
|
requesttype: PlayLostModeSound
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '10.3'
|
|
accessrights: None
|
|
supervised: true
|
|
requiresdep: false
|
|
sharedipad:
|
|
mode: allowed
|
|
devicechannel: true
|
|
userchannel: false
|
|
userenrollment:
|
|
mode: forbidden
|
|
macOS:
|
|
introduced: n/a
|
|
tvOS:
|
|
introduced: n/a
|
|
visionOS:
|
|
introduced: n/a
|
|
watchOS:
|
|
introduced: n/a
|
|
content: This command allows the server to tell the device to play a sound if it
|
|
is in MDM Lost Mode. The sound will play until the device is either removed from
|
|
Lost Mode or a user disables the sound from the device.
|
|
notes:
|
|
- title: ''
|
|
content: |-
|
|
A device responds with error code:
|
|
|
|
- `12067`: If it isn't in Lost mode.
|
|
- `12078`: If the command is invalid while in Lost Mode.
|
|
|
|
The sound plays until the server disables Lost Mode or the user disables the sound on the device.
|
|
|
|
Refer to the following sections to determine supported channels and requirements, and to see an example request and response.
|
|
examples:
|
|
- title: Example request and response
|
|
files:
|
|
- request-file: examples/mdm/commands/device.lostmode.playsound/example1.plist
|
|
response-file: examples/mdm/commands/device.lostmode.playsound/example2.plist
|