Set Static Ethernet API
Permission
The application declares the following permissions in the manifest:
 android.permission.CONNECTIVITY_INTERNALAPI Overview
enableStaticIp
void enableStaticIp(boolean isStaticIp);Enable static IP, true for static ip, else for dhcp.
Parameters
isStaticIp
for the enable static IP setting, a boolean value is used: true for static ip, else for dhcp.
isStaticIp
boolean isStaticIp();true for static ip, else for dhcp.
Returns
boolean
a boolean representation of the result.
true if static ip. false if dhcp.
setStaticIp
boolean setStaticIp(IpBean ipBean);Set static IP.
Parameters
ipBean
IpBean
Returns
boolean
a boolean representation of the result.
true if success. false if failure.
getStaticIp
IpBean getStaticIp();Get static IP parameters.
Returns
IpBean
IpBean.
Resource Download
- Refer to the cloudpos apidemo - demo. 
Last updated
