AppleWatchDeviceInfo
Information on the Apple Watch itself and the iPhone it is paired with.
This data is collected once every time data collection is started on the watch, and is what links the AWARE device id of the watch to the AWARE device id of the phone.
- Inheritance
-
- Object
- Serializable
- Data
- AppleWatchData
- AppleWatchDeviceInfo
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.none, includeIfNull: false)
Constructors
AppleWatchDeviceInfo.fromJson
AppleWatchDeviceInfo.fromRecord
Create an AppleWatchDeviceInfo from an AWARE ios_watch_device record.
AppleWatchDeviceInfo
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
jsonType
Return the __type to be used for JSON serialization of this class. Default is runtimeType. Only specify this if you need another type.
model
The model of the watch, e.g. Apple Watch.
name
The name of the watch, as set by the user.
pairedIosDeviceId
The AWARE device id of the iPhone this watch is paired with.
preferredContentSizeCategory
The preferred content size category (i.e., dynamic type setting) on the watch.
systemName
The name of the operating system of the watch, e.g. Watch OS.
systemVersion
The version of the operating system of the watch, e.g. 11.2.
Methods
toJson
Return a JSON encoding of this object.
toString
A string representation of this object.
Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.
Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.