Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
For more information about available methods, refer to the roDeviceInformation roDeviceInformation entry. The JavaScript equivalent is deviceinfo.
Attributes
readonly
attribute
DOMString
model
readonly
attribute
DOMString
version
readonly
attribute
int
deviceUptime
readonly
attribute
int
deviceLifetime
readonly
attribute
int
deviceBootCount
readonly
attribute
DOMString
bootVersion
readonly
attribute
DOMString
deviceUniqueId
readonly
attribute
DOMString
family
Methods
Code Block |
---|
int VersionCompare(in DOMString version) int BootVersionCompare(in DOMString version) boolean HasFeature(in DOMString feature) |
Example
The following JavaScript example posts device information on the page when the button is clicked:
...