DeviceSettings

@JsonClass(generateAdapter = true)
data class DeviceSettings(val deviceTag: Int, val reportingEnabled: Boolean, val legalCountryCode: String?, val devicePrettyName: String, val platformType: String, val deviceCreationTime: String, val latestLocationReportingSettingChange: LatestLocationReportingSettingChange, val androidOsLevel: Int?, val deviceSpec: DeviceSpec?)

Information about a device associated with the Google Location History account.

Constructors

Link copied to clipboard
constructor(deviceTag: Int, reportingEnabled: Boolean, legalCountryCode: String?, devicePrettyName: String, platformType: String, deviceCreationTime: String, latestLocationReportingSettingChange: LatestLocationReportingSettingChange, androidOsLevel: Int?, deviceSpec: DeviceSpec?)

Properties

Link copied to clipboard

The version of the device's operating system (only applies to Android devices). Corresponds to the API Level (e.g. 28 is Android 9 Pie).

Link copied to clipboard

Timestamp (as an ISO 8601 string) of the first time this device was available for Location History reporting on this Google account.

Link copied to clipboard

Pretty name of the device, recommended for user-facing applications.

Link copied to clipboard

Technical information and specifications about the device.

Link copied to clipboard

Integer identifier (specific to Location History) of the device.

Link copied to clipboard

Information on the latest change(s) to Location History settings on this Google account.

Link copied to clipboard
Link copied to clipboard

Platform of the device. Valid values are: ANDROID, IOS and UNKNOWN.

Link copied to clipboard

Whether this device is configured to report Location History information (controlled in the Activity Controls page).