Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
cpjamloki
Level 7

Network error

is it possible in Roku to show network error to the user?

if network is gone in the middle of live channel is there any auto checklist in roku for giving messge like "network error please check your internet connection".
0 Kudos
3 Replies
cpjamloki
Level 7

Re: Network error

whatever your views on this topic please share...........
0 Kudos
destruk
Level 10

Re: Network error

There is a code returned when playback stops. I think you'd just need to check if the user initiated the cancel of playback or if it stopped on its own.
Then you could use roMessageDialog to inform the user of any text you want. http://sdkdocs.roku.com/display/sdkdoc/roMessageDialog
0 Kudos
RokuMarkn
Level 7

Re: Network error

You can also use ifDeviceInfo.EnableLinkStatusEvent. You should get events when the network connection seems to have dropped or returned.

--Mark
0 Kudos