Available since Roku OS 8.
The roDeviceInfo object sends the roDeviceInfoEvent with the following predicates that indicate its valid event types:
isStatusMessage() as Boolean
Device status has changed.
GetInfo() as Object
Returns an roAssociativeArray containing one of the following members:
|linkStatus||Boolean||True if the device currently seems to have an active network connection. The linkStatus event will only ever get fired if ifDeviceInfo.EnableLinkStatusEvent(true) is called before entering the message loop.|
|audioGuideEnabled||Boolean||True if Audio Guide is enabled. The audioGuideEnabled event will only ever get fired if ifDeviceInfo.EnableAudioGuideChangedEvent(true) is called before entering the message loop.|
|exitedScreensaver||Boolean||True if the screensaver was exited. The exitedScreensaver event will only ever get fired if ifDeviceInfo.EnableScreensaverExitedEvent(true) is called before entering the message loop.|
It is set to False when the System Overlay takes focus and True when the channel regains focus.
isCaptionModeChanged() as Boolean
When the user changes the closed caption mode or track, true is returned. call ifDeviceInfo.GetCaptionsMode() to get the mode.