[ 
https://issues.apache.org/jira/browse/CB-4142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705776#comment-13705776
 ] 

Vinoth Kumar commented on CB-4142:
----------------------------------

Yes. But in the net-info spec http://www.w3.org/TR/netinfo-api/, it also have 
an onchange event for the connection which gets changed when the bandwidth 
changes, not two events (online and offline). So it makes sense to move to 
bandwidth from connection type and to have a single onchange event.
                
> Need an API to know the connection type changes
> -----------------------------------------------
>
>                 Key: CB-4142
>                 URL: https://issues.apache.org/jira/browse/CB-4142
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Plugin Network Information
>    Affects Versions: 2.9.0
>            Reporter: Vinoth Kumar
>            Assignee: Andrew Grieve
>
> Hi,
> Now there is no way to track the mobile network connection type changes. We 
> can use the online and offline APIs along with the connection APIs
> Lets consider the following case:
> I enabled 2G connection in my mobile. Then I connected to WIFI. After WIFI 
> connection, we need to know the type of the connection to do some actions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to