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: 
breger
Visitor

Network Status

Is there a quick way to determine if a Roku box is connected to the network? My channel needs to get a response from a website open startup. I'd like to have the channel report immediatedly that the network is down and can't continue rather than waiting on a response that will never come.

Thanks
0 Kudos
5 REPLIES 5
RokuMarkn
Visitor

Re: Network Status

You can call roDeviceInfo.GetLinkStatus(). I notice this is not currently documented; I will add it to the doc soon.

--Mark
0 Kudos
wzwor
Visitor

Re: Network Status

"RokuMarkn" wrote:
You can call roDeviceInfo.GetLinkStatus(). I notice this is not currently documented; I will add it to the doc soon.

--Mark

Does that return a boolean or are there more status codes?
http://thebeersoncomcast.wordpress.com/
0 Kudos
RokuMarkn
Visitor

Re: Network Status

It returns Boolean. There is also an associated roDeviceInfoEvent that you can enable to receive notification when the link status changes. This is now documented.

--Mark
0 Kudos
wzwor
Visitor

Re: Network Status

thank you.
http://thebeersoncomcast.wordpress.com/
0 Kudos
breger
Visitor

Re: Network Status

Thanks!
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.