# Package com.codename1.vpn.spi

package com.codename1.vpn.spi

The seam between the portable `com.codename1.vpn` API and each platform's native VPN machinery.

Application code never references anything here. `VpnBridge` is implemented by the ports and obtained through `com.codename1.ui.Display#getVpnBridge()`; the base implementation returns `null`, which is the capability query.

- Related Packages
  Package
  Description
  com.codename1.vpn
  Installing and controlling a VPN configuration.
  com.codename1.vpn.profile
  Asking the operating system to run a standard VPN tunnel.
  com.codename1.vpn.tunnel
  Writing the tunnel itself, rather than asking the system to run one.
- Interfaces
  Class
  Description
  VpnBridge
  Internal service-provider interface implemented by each platform port to carry the `com.codename1.vpn` API onto the native VPN machinery: Apple's `NEVPNManager` and `NETunnelProviderManager`, and Android's `VpnManager` and `VpnService`.