Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

For more information about available methods, refer to the roDeviceInformation entryroDeviceInformation 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

...

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:

...