Hi,
If you are using connection resiliencyfeature. So you have already set the recovery allowance using below API.
warpClient.setRecoveryAllowance(60);
So when you switched to a network first you will get connection error with the result code 5 as internet is gone. And when switching is completed you will get CONNECTION_ERROR_RECOVERABLE as result code 9. in that case you have to call recover connection API like :
if(arg0.getResult() == WarpResponseResultCode.CONNECTION_ERROR_RECOVERABLE){
// yay! we are connected to Warp server
warpClient.RecoverConnection()
}
Let me know if it helps.
Thanks & Regards
Vishnu Garg