- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to implement "Can't run the channel" message when no internet available
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to implement "Can't run the channel" message when no internet available
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to implement "Can't run the channel" message when no internet available
@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.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to implement "Can't run the channel" message when no internet available
Thanks, I will try that out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to implement "Can't run the channel" message when no internet available
Ohh...got it thanks