- Inheritance
-
- Object
- PlatformInterface
- FlutterV2rayPlatform
- Implementers
Methods
-
getConnectedServerDelay(String url)
→ Future<int>
-
Measures delay/ping for the currently connected server.
-
getCoreVersion()
→ Future<String>
-
Gets the version of the underlying core (Xray).
-
getServerDelay({required String config, required String url})
→ Future<int>
-
Measures delay/ping for a server configuration (when not connected).
-
initializeVless({required String notificationIconResourceType, required String notificationIconResourceName, required String providerBundleIdentifier, required String groupIdentifier})
→ Future<void>
-
Initializes the VPN plugin with platform-specific configuration.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermission()
→ Future<bool>
-
Requests VPN permission from the user (Android).
-
startVless({required String config, required String notificationDisconnectButtonName, List<String>? blockedApps, List<String>? bypassSubnets, List<String>? dnsServers, bool proxyOnly = false, bool showNotificationDisconnectButton = true})
→ Future<void>
-
Starts the VPN connection with the given configuration.
-
stopVless()
→ Future<void>
-
Stops the VPN connection.
-
toString()
→ String
-
A string representation of this object.
inherited