Package org.silverpeas.mobile.client.common.network

## Class NetworkHelper

- java.lang.Object
- - org.silverpeas.mobile.client.common.network.NetworkHelper

-     public class NetworkHelper
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NetworkHelper()` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getConnectionType()` |
    `static String` | `getContext()` |
    `static NetworkHelper` | `getInstance()` |
    `static void` | `hideOfflineIndicator()` |
    `static boolean` | `isOnline()` |
    `boolean` | `isOnWifi()` |
    `static boolean` | `needToGoOffine​(Throwable reason)` |
    `static void` | `updateConnexionIndicator()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NetworkHelper

          public NetworkHelper()

  - ### Method Detail

    - #### getInstance

          public static NetworkHelper getInstance()

    - #### getContext

          public static String getContext()

    - #### isOnline

          public static boolean isOnline()

    - #### updateConnexionIndicator

          public static void updateConnexionIndicator()

    - #### needToGoOffine

          public static boolean needToGoOffine​(Throwable reason)

    - #### hideOfflineIndicator

          public static void hideOfflineIndicator()

    - #### getConnectionType

          public String getConnectionType()

    - #### isOnWifi

          public boolean isOnWifi()