AndroidProxySetter class
A utility class for setting system proxy on Android
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- isSupported → bool
-
Whether the proxy setter is supported on this platform
no setter
Static Methods
-
clearSystemProxy(
) → Future< bool> - Clears the system proxy on Android
-
hasProxyPermission(
) → Future< bool> - Checks if the app has permission to set system proxy
-
requestProxyPermission(
) → Future< bool> - Requests permission to set system proxy
-
setSystemProxy(
Proxy proxy) → Future< bool> - Sets the system proxy on Android