I have checked the suggested question here, but when I checked the documentation regarding the method getNetworkInfo()
here, there was no documentation regarding the possible integer values this method could handle. For an example, if I passed 0
to the getNetworkInfo()
this means I am checking he mobile network, and if it is 1
, I am checking the status of the WiFi
.
Is there any other possible values? Why they are not in the documentation?