DeviceInformation
Hardware and operating system information about the phone.
Collected by DeviceProbe for the DeviceSamplingPackage.DEVICE_INFORMATION measure, using DeviceInfoService.
More information on the data from Android and iOS are available at:
- Inheritance
-
- Object
- Serializable
- Data
- DeviceInformation
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
DeviceInformation.fromJson
DeviceInformation
Properties
deviceData
The full, platform-specific device info as returned by the device_info_plus plugin.
deviceId
The device ID, see DeviceInfoService.deviceID. On iOS this is unique per device and app vendor, and changes if the app is reinstalled or the device is reset.
deviceManufacturer
Device manufacturer as specified by the OS.
deviceModel
Device model as specified by the OS.
deviceName
Device name as specified by the OS.
fromJsonFunction
The function which can convert a JSON string to an object of this type.
hardware
The hardware type of this device (e.g. 'iPhone7,1' for iPhone 6 Plus).
operatingSystem
Device OS as specified by the OS.
platform
The platform type of the device.
AndroidiOS
release
The OS release.
sdk
The SDK version.
Methods
equivalentTo
Returns true if the deviceId is equal.
toJson
Return a JSON encoding of this object.