Documentation
¶
Overview ¶
Query network management status via the INetworkManagementService system service.
Uses INetworkManagementService via the "network_management" service to list network interfaces, check tethering and firewall/bandwidth status.
Note: Some methods require root or AID_SYSTEM, and some tethering methods were removed in Android API 36+.
Build:
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/softap_manage ./examples/softap_manage/ adb push softap_manage /data/local/tmp/ && adb shell /data/local/tmp/softap_manage
Click to show internal directories.
Click to hide internal directories.