addresses property

List<AddressCheckOptions> addresses
getter/setter pair

A list of internet addresses (with port and timeout) to ping.

These should be globally available destinations. Default is DEFAULT_ADDRESSES.

When hasConnection or connectionStatus is called, this utility class tries to ping every address in this list.

The provided addresses should be good enough to test for data connection but you can, of course, supply your own.

See AddressCheckOptions for more info.


List<AddressCheckOptions> addresses = DEFAULT_ADDRESSES;