public NetworkEvents setPingParameters ( String host , int port , int timeoutInMs ) { onlineChecker . setPingParameters ( host , port , timeoutInMs ) ; return this ; }
Sets ping parameters of the host used to check Internet connection . If it s not set library will use default ping parameters .