getDeviceIPAddress
This API returns the IP address of the device. If device is connected to wi-fi then it returns wi-fi IP address otherwise it returns the cellular network ip address. If wi-fi/cellular network is disabled then in that case it is null.
aa82test
Description
This API returns the IP address of the device. If device is connected to wi-fi then it returns wi-fi IP address otherwise it returns the cellular network ip address. If wi-fi/cellular network is disabled then in that case it is null.
API Signature
public abstract String getDeviceIPAddress()
Return Values
Return Value | Inference |
getDeviceIPAddress | IP address of the device. |