Developers

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
Tags (1)
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
Tags (1)
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/
Tags (1)
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
Tags (1)
0 Kudos
wzwor
Visitor

Re: Network Status

thank you.
http://thebeersoncomcast.wordpress.com/
Tags (1)
0 Kudos
breger
Visitor

Re: Network Status

Thanks!
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!