DeviceLocationResponse
A response from the device after it processes the command to request the location of a device when in Lost Mode.
Declaration
object DeviceLocationResponseProperties
| Name | Type | Description |
|---|---|---|
Altitude Required | number | The altitude of the device’s location, which is a negative value if the altitude is unknown. |
CommandUUID | string | The unique identifier of the command for this response. |
Course Required | number | The direction the device is traveling, which is a negative value if the course is unknown. |
EnrollmentID Required | string | The per-enrollment identifier for the device. The system requires this value if the enrollment type is a user enrollment. Available in iOS 13 and later, macOS 10.15 and later, and visionOS 2 and later. |
EnrollmentUserID Required | string | The per-enrollment identifier for the user. The system requires this value if the enrollment type is a user enrollment on the user channel. Available in macOS 10.15 and later. |
ErrorChain | [DeviceLocationResponse.ErrorChainItem] | An array of dictionaries that describes any errors that occur. |
HorizontalAccuracy Required | number | The radius of uncertainty for the location in meters, which is a negative value if the horizontal accuracy is unknown. |
Latitude Required | number | The latitude of the device’s location. |
Longitude Required | number | The longitude of the device’s location. |
NotOnConsole Required | boolean | If |
Speed Required | number | The speed of the device in meters per second, which is a negative value if the speed is unknown. |
Status Required | string | The status of the response, which is one of the following values:
|
Timestamp Required | string | The RFC 3339 timestamp of when the server determines the location of the device. |
UDID Required | string | The device’s UDID (unique device identifier). The system requires this value if the enrollment type is a device enrollment. |
UserID | string | For macOS, this value is the ID of the user. For Shared iPad, this value is |
UserLongName Required | string | The full name of the user. |
UserShortName | string | For macOS, this value is the short name of the user. For Shared iPad, this value is the Managed Apple Account identifier of the user on Shared iPad. It indicates that the token is for the user channel. |
VerticalAccuracy Required | number | The accuracy of the altitude value in meters, which is a negative value if the vertical accuracy is unknown. |