The roDeviceInfo component provides an interface to obtain attributes about the device.

Supported Interfaces

Supported Events

Description

These attributes are not changeable by the script, but may be queried to obtain values for the player. It is common for scripts to need access to the serial number and model info for negotiating with backend services.
This object is created with no parameters:

  • CreateObject("roDeviceInfo")

Example
di = CreateObject("roDeviceInfo")
print di.GetModel()
print di.GetVersion() 
print di.GetDeviceUniqueId()

On a particular system this generates:

 N1000
999.99E99999X
20E825000036