Set Static Ethernet API
The system provides the AIDL interface to set the static Ethernet parameters, When connect the service, the package name is com.wizarpos.wizarviewagentassistant, and the class name is com.wizarpos.wizarviewagentassistant.Eth0MgrService. When the application uses the interface, it must import wizarviewagentassistant and add permissions to the Android manifest file.
Permission
The application declares the following permissions in the manifest:
API Overview
enableStaticIp
Enable static IP, true for static ip, else for dhcp.
isStaticIp
for the enable static IP setting, a boolean value is used: true for static ip, else for dhcp.
isStaticIp
true for static ip, else for dhcp.
boolean
a boolean representation of the result.
true if static ip. false if dhcp.
setStaticIp
Set static IP.
ipBean
IpBean
boolean
a boolean representation of the result.
true if success. false if failure.
getStaticIp
Get static IP parameters.
IpBean
IpBean.
Download
Demo
Please download the demo
Last updated