Code example for WifiManager

Methods: reconnect

0
    return mWifi.reassociate();
  } 
 
  @Rpc(description = "Reconnects to the currently active access point.", returns = "True if the operation succeeded.") 
  public Boolean wifiReconnect() {
    return mWifi.reconnect();
  } 
 
  @Override 
  public void shutdown() { 
    wifiLockRelease(); 
  } 
} 
Contextual code suggestions in your IDE  Get Codota for Java