IosVpnclientEngineFlutter class
- Inheritance
-
- Object
- VpnclientEngineFlutterPlatform
- IosVpnclientEngineFlutter
Constructors
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
-
checkSystemPermission(
) → Future< bool> - Check system permissions
-
connect(
{required String url}) → Future< void> -
override
-
connectLibXray(
{required String config}) → Future< bool> - Connect using LibXray engine
-
connectSingBox(
{required String config}) → Future< bool> - Connect using SingBox engine
-
disconnect(
) → Future< void> -
override
-
getConnectionStatus(
) → Future< String> - Get connection status
-
getPlatformVersion(
) → Future< String?> -
override
-
getXrayVersion(
) → Future< String> - Get Xray 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 Xray 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