Vpn

interface Vpn

Public API to handle start/stop type of actions for the device VPN

Functions

Link copied to clipboard
abstract suspend fun snooze(triggerAtMillis: Long)

Snoozes the VPN for triggerAtMillis milliseconds

Link copied to clipboard
abstract suspend fun start()

Enables the device VPN by starting the VPN service

Link copied to clipboard
abstract suspend fun stop()

Disable the device VPN by stopping the VPN service