Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

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:

MemberTypeDescription
linkStatusBooleanTrue 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.
audioGuideEnabledBooleanTrue if Audio Guide is enabled. The audioGuideEnabled event will only ever get fired if ifDeviceInfo.EnableAudioGuideChangedEvent(true) is called before entering the message loop.
exitedScreensaverBooleanTrue if the screensaver was exited. The exitedScreensaver event will only ever get fired if ifDeviceInfo.EnableScreensaverExitedEvent(true) is called before entering the message loop.
appFocusBoolean

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.

 

  • No labels