AppState

Determines whether the app is in the foreground or background and notifies you of any change. For more information, see AppState.

Notes

  • AppState is only supported on iOS, tvOS, webOS, Tizen, UWP, Android, and PS4.
  • You.i React Native only supports the following two app state values: active and background.

Properties

Property Supported Supported on Roku Dynamic on Roku Notes
currentState ~v N/A N/A  

Methods

Method Supported (not Roku) Supported on Roku Dynamic on Roku Notes
addEventListener ~v N/A N/A  
removeEventListener ~v N/A N/A