code: public static void requestConnectionStatus(Context context) {
          Intent intent = new Intent(EventManager.ACTION_CONNECTION_STATUS_REQUEST);
          context.sendBroadcast(intent);
      }
docs: Request connection status. You will receive a {@link Connected} or {@link Disconnected}
  event in your broadcast receiver