Package: org.thebytearray.wireling
Object: WireLingVpn — static entry points for notifications, permissions, and tunnel control.
| Name | Type | Description |
|---|---|---|
notificationIconResId |
Int |
Last value passed to setNotificationIcon |
notificationChannelId |
String |
Last channel id from createNotificationChannel |
Creates the channel (API 26+) and stores channelId for later use. Call from Application.onCreate or before starting the tunnel.
Required before startVpnTunnel.
true when VpnService.prepare(context) is null.
Non-null when the user must approve VPN; launch with your ActivityResultLauncher.
No-op below API 33 unless you guard externally.
Starts TunnelService as a foreground service. Requires icon + channel configured.
Sends stop to TunnelService.
Related: WireLingConstants · TunnelConfig