I am Roku app developer, I am using brightscript/screengraph.I have developed an app and want to give below error message as "can't run channel" when no internet is available, like Netflix and other popular channel did.
How should I implement this in my app?
Hi @JalpaWhiz . You can check the internet status flag in the device info object. This will be true when the device is connected. If the flag is false, they you can pop a dialog stating the the channel can't run.
Note that if you want to monitor for the internet status event, then you'll need to enable it:
@JalpaWhiz, that message isn't exactly the same thing as what you're looking for. That message implies the channel package is no longer cached on the device and must be reinstalled from Roku's server.
Thanks, I will try that out.
Ohh...got it thanks