- |
- audioGuideEnabled
- |
-
- Boolean
- |
-
- True if the screen reader is enabled. The audioGuideEnabled event will only ever get fired if ifDeviceInfo.EnableAudioGuideChangedEvent(true) called before entering the message loop
- |
+ audioGuideEnabled |
+ Boolean |
+ True if the screen reader is enabled. The audioGuideEnabled event will only ever get fired if [ifDeviceInfo.EnableAudioGuideChangedEvent(true)](doc:ifdeviceinfo#enableaudioguidechangedeventenable-as-boolean-as-dynamic) 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
- |
+ exitedScreensaver |
+ Boolean |
+ True if the screensaver was exited. The exitedScreensaver event will only ever get fired if [ifDeviceInfo.EnableScreensaverExitedEvent(true)](doc:ifdeviceinfo#enablescreensaverexitedeventenable-as-boolean-as-dynamic) is called before entering the message loop. |
- |
- appFocused
- |
-
- Boolean
- |
-
- It is set to False when the System Overlay takes focus and True when the app regains focus
- |
+ appFocused |
+ Boolean |
+ It is set to False when the System Overlay takes focus and True when the app regains focus. |
- |
- 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
- |
+ 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)](doc:ifdeviceinfo#enablelinkstatuseventenable-as-boolean-as-boolean) is called before entering the message loop. |
- |
- internetStatus
- |
-
- Boolean
- |
-
- True if the device currently has a valid connection to the external internet. This status is determined by the device's ability to reach Roku's backend services. The internetStatus event will only be fired if ifDeviceInfo.EnableInternetStatusEvent(true) is called. Note that a device may have linkStatus as true (connected to a router) while internetStatus remains false (no ISP connectivity).
- |
+ internetStatus |
+ Boolean |
+ True if the device currently has a valid connection to the external internet. This status is determined by the device's ability to reach Roku's backend services. The internetStatus event will only be fired if [ifDeviceInfo.EnableInternetStatusEvent(true)](doc:ifdeviceinfo#enableinternetstatuseventenable-as-boolean-as-boolean) is called. Note that a device may have linkStatus as true (connected to a router) while internetStatus remains false (no ISP connectivity). |
-
- |
- generalMemoryLevel
- |
-
- String
- |
+ generalMemoryLevel |
+ String |
Fires notifications to the app about memory levels. This event will be sent first when the OS transitions from "normal" to "low" state and will continue to be sent while in "low" or "critical" states.
The events will be throttled so as to not overwhelm the application listening for these events. The application may voluntarily free up memory by invalidating references to objects (e.g. release ContentNodes held in a cache, release offscreen renderable nodes, etc.).
The "low" and "critical" events will be sent to the OS forces the application to exit.
-
- "normal" means that the general memory is within acceptable levels
- "low" means that the general memory is below acceptable levels but not critical
@@ -112,29 +70,17 @@ Checks the current status of the device. This method returns an roAssociativeArr
|
- |
- audioCodecCapabilityChanged
- |
-
- Boolean
- |
-
- The audio codec capability has changed if true. If your application receives this event, you can check the current audio playback capability using the [`roDeviceInfo.CanDecodeAudio`](doc:ifdeviceinfo)asObject) and [`roDeviceInfo.GetAudioDecodeInfo`](doc:ifdeviceinfo)asObject) methods.
This event is only fired if the [`ifDeviceInfo.EnableCodecCapChangedEvent(true)`](doc:ifdeviceinfo)) is called before entering the message loop.
- |
+ audioCodecCapabilityChanged |
+ Boolean |
+ The audio codec capability has changed if true. If your application receives this event, you can check the current audio playback capability using the [`roDeviceInfo.CanDecodeAudio(audio_format as Object)`](doc:ifdeviceinfo#candecodeaudioaudio_format-as-object-as-object) and [`roDeviceInfo.GetAudioDecodeInfo()`](doc:ifdeviceinfo#getaudiodecodeinfo-as-object) methods.
This event is only fired if [`ifDeviceInfo.EnableCodecCapChangedEvent(true)`](doc:ifdeviceinfo#enablecodeccapchangedeventenable-as-boolean) is called before entering the message loop. |
- |
- videoCodecCapabilityChanged
- |
-
- Boolean
- |
-
- The video codec capability has changed if true. If your application receives this event, you can check the current video playback capability using the [`roDeviceInfo.CanDecodeVideo`](doc:ifdeviceinfo)asObject) method.
This event is only fired if [`ifDeviceInfo.EnableCodecCapChangedEvent(true)`](doc:ifdeviceinfo)) is called before entering the message loop.
- |
+ videoCodecCapabilityChanged |
+ Boolean |
+ The video codec capability has changed if true. If your application receives this event, you can check the current video playback capability using the [`roDeviceInfo.CanDecodeVideo(video_format as Object)`](doc:ifdeviceinfo#candecodevideovideo_format-as-object-as-object) method.
This event is only fired if [`ifDeviceInfo.EnableCodecCapChangedEvent(true)`](doc:ifdeviceinfo#enablecodeccapchangedeventenable-as-boolean) is called before entering the message loop. |
-