Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| success | Function | No | Callback with network type |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
Success Callback
| Property | Type | Description |
|---|---|---|
| networkType | String | Network type: WIFI, 2G, 3G, 4G, 5G, UNKNOWN, NONE |
| networkAvailable | Boolean | Whether network is available |