Perform captive portal detection on specific network interface.
ifname | The name of network interface, exception will be thrwon if the same interface has unfinished request. |
callback | Callbacks when detection procedure starts and finishes. |
Abort captive portal detection for specific network interface
due to system failure, callback will not be invoked.
ifname | The name of network interface. |
Cancel captive portal login procedure by user, callback will be invoked.
eventId | Login event id provided in |captive-portal-login| event. |
Notify prepare phase is finished, routing and dns must be ready for sending
out XMLHttpRequest. this is callback for CaptivePortalDetector API user.
ifname | The name of network interface, must be unique. |