Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cpjamloki
Visitor

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 3
cpjamloki
Visitor

Re: Network error

whatever your views on this topic please share...........
0 Kudos
destruk
Binge Watcher

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
Visitor

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