Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

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:

...