DeviceInfo class Device Information

Supplies the devices information.

dartdoc:

Constructors

DeviceInfo()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

board String
The name of the underlying board, like "goldfish". Empty string if not available.
no setter
bootloader String
The system bootloader version number. Empty string if not available.
no setter
brand String
The consumer-visible brand with which the product/hardware will be associated. Empty string if not available.
no setter
data Map<String, dynamic>
Supply the device information
no setter
device String
The name of the industrial design. Empty string if not available.
no setter
deviceId String
The unique identifier of the device
no setter
display String
A build ID string meant for displaying to the user. Empty string if not available.
no setter
fingerprint String
A string that uniquely identifies this build. Empty string if not available.
no setter
hardware String
The name of the hardware (from the kernel command line or /proc). Empty string if not available.
no setter
host String
Hostname. Empty string if not available.
no setter
id String
Either a changelist number, or a label like "M4-rc20". Empty string if not available.
no setter
identifierForVendor String
Unique UUID value identifying the current device. Empty string if not available.
no setter
isPhysicalDevice String
false if the application is running in an emulator, true otherwise. Empty string if not available.
no setter
localizedModel String
Localized name of the device model. Empty string if not available.
no setter
manufacturer String
The manufacturer of the product/hardware. Empty string if not available.
no setter
model String
The end-user-visible name for the end product. Empty string if not available.
no setter
name String
Device name. Empty string if not available.
no setter
product String
The name of the overall product. Empty string if not available.
no setter
supported32BitAbis String
An ordered list of 32 bit ABIs supported by this device. Empty string if not available.
no setter
supported64BitAbis String
An ordered list of 64 bit ABIs supported by this device. Empty string if not available.
no setter
supportedAbis String
An ordered list of ABIs supported by this device. Empty string if not available.
no setter
systemName String
The name of the current operating system. Empty string if not available.
no setter
systemVersion String
The current operating system version. Empty string if not available.
no setter
tags String
Comma-separated tags describing the build, like "unsigned,debug". Empty string if not available.
no setter
type String
The type of build, like "user" or "eng". Empty string if not available.
no setter
utsname String
Operating system information derived from sys/utsname.h. Empty string if not available.
no setter
utsnameMachine String
Hardware type (e.g. 'iPhone7,1' for iPhone 6 Plus). Empty string if not available.
no setter
utsnameNodename String
Network node name. Empty string if not available.
no setter
utsnameRelease String
Release level. Empty string if not available.
no setter
utsnameSysname String
Operating system name. Empty string if not available.
no setter
utsnameVersion String
Version level. Empty string if not available.
no setter
versionBaseOs String
Removed from version 4.0.0 to avoid Google Play policies violations. Empty string if not available. The base OS build the product is based on. Empty string if not available.
no setter
versionCodename String
The current development codename, or the string "REL" if this is a release build. Empty string if not available.
no setter
versionIncremental String
The internal value used by the underlying source control to represent this build. Empty string if not available.
no setter
versionPreviewSdk String
The developer preview revision of a prerelease SDK. Empty string if not available.
no setter
versionRelease String
The user-visible version string. Empty string if not available.
no setter
versionSdk String
The user-visible SDK version of the framework.
no setter
versionSecurityPatch String
The user-visible security patch level. Empty string if not available.
no setter

Static Methods

initAsync() Future<Map<String, dynamic>>
Collect all the Device's information.