Toggle Ethernet Connectivity
The system provides the AIDL interface to enable/disable ethernet, 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.
Version of wizarviewagentassistant should equal or larger than 2.10.60.
API Overview
enableEthernet
Enable or disable Ethernet.
Parameters
enable
for the ethernet setting, a boolean value is used: true enables ethernet, while false disables it.
getEthernetStatus
true, enable ethernet; false, disable ethernet.
Returns
boolean
a boolean representation of the result.
true if success. false if failure.
Download
AIDL
Please download the AIDL
Demo
Please download the demo
Last updated