/**@class android.net.NetworkInfo.State @extends java.lang.Enum Coarse-grained network state. This is probably what most applications should use, rather than {@link android.net.NetworkInfo.DetailedState DetailedState}. The mapping between the two is as follows: <br/><br/> <table> <tr><td><b>Detailed state</b></td><td><b>Coarse-grained state</b></td></tr> <tr><td><code>IDLE</code></td><td><code>DISCONNECTED</code></td></tr> <tr><td><code>SCANNING</code></td><td><code>CONNECTING</code></td></tr> <tr><td><code>CONNECTING</code></td><td><code>CONNECTING</code></td></tr> <tr><td><code>AUTHENTICATING</code></td><td><code>CONNECTING</code></td></tr> <tr><td><code>CONNECTED</code></td><td><code>CONNECTED</code></td></tr> <tr><td><code>DISCONNECTING</code></td><td><code>DISCONNECTING</code></td></tr> <tr><td><code>DISCONNECTED</code></td><td><code>DISCONNECTED</code></td></tr> <tr><td><code>UNAVAILABLE</code></td><td><code>DISCONNECTED</code></td></tr> <tr><td><code>FAILED</code></td><td><code>DISCONNECTED</code></td></tr> </table> */ var State = { /***/ CONNECTING : "null", /***/ CONNECTED : "null", /***/ SUSPENDED : "null", /***/ DISCONNECTING : "null", /***/ DISCONNECTED : "null", /***/ UNKNOWN : "null", /** */ values : function( ) {}, /** */ valueOf : function( ) {}, };