Class VpnService
public class VpnService : Service, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Context>VpnService
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Context>.IsAssignableFrom(IJavaType)JVMBridgeBase<Context>.IsAssignableFrom<T>()JVMBridgeBase<Context>.Execute<T>(params T[])JVMBridgeBase<Context>.DynBridgeClazzJVMBridgeBase<Context>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
VpnService()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public VpnService()
VpnService(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public VpnService(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
SERVICE_INTERFACE
public static String SERVICE_INTERFACE { get; }
Property Value
SERVICE_META_DATA_SUPPORTS_ALWAYS_ON
public static String SERVICE_META_DATA_SUPPORTS_ALWAYS_ON { get; }
Property Value
Methods
IsAlwaysOn()
public bool IsAlwaysOn()
Returns
IsLockdownEnabled()
public bool IsLockdownEnabled()
Returns
OnRevoke()
public void OnRevoke()
Prepare(Context)
https://developer.android.com/reference/android/net/VpnService.html#prepare(android.content.Context)
public static Intent Prepare(Context arg0)
Parameters
Returns
Protect(DatagramSocket)
https://developer.android.com/reference/android/net/VpnService.html#protect(java.net.DatagramSocket)
public bool Protect(DatagramSocket arg0)
Parameters
Returns
Protect(Socket)
public bool Protect(Socket arg0)
Parameters
Returns
Protect(int)
public bool Protect(int arg0)
Parameters
Returns
SetUnderlyingNetworks(Network[])
public bool SetUnderlyingNetworks(Network[] arg0)