AndroidVpnclientEngineFlutter class

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect({required String url}) Future<void>
override
connectLibXray({required String config}) Future<bool>
Connect with libXray using JSON configuration
disconnect() Future<void>
override
getConnectionStatus() Future<String>
Get connection status
getPlatformVersion() Future<String?>
override
getXrayVersion() Future<String>
Get libXray version
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pingServer({required String config, required String url, int timeout = 10}) Future<int>
Ping server with configuration
requestPermissions() Future<bool>
Request VPN permissions
sendError(String errorCode, String errorMessage) → void
inherited
sendStatus(ConnectionStatus status) → void
inherited
testXrayConfig({required String config}) Future<bool>
Test Xray configuration
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited