Xamarin Android
Interface IStartTunnelCallback
IStartTunnelCallback provides a callback interface for the StartTunnel()
call.
Namespace: Com.Citrix.Mvpn.Api
Assembly: MvpnSdkFormsLibrary.dll
Syntax:
public interface IStartTunnelCallback
<!--NeedCopy-->
Methods
OnError(StartTunnelError)
OnError()
callback method is called when the tunnel fails to start for any reason. StartTunnelError passes the error codes returned from the StartTunnel()
call.
Declaration:
void OnError(StartTunnelError error)
<!--NeedCopy-->
Parameters:
Type | Name | Description |
---|---|---|
StartTunnelError | Error |
StartTunnelError parameter contains the error code returned from calling the StartTunnel() method. |
OnSuccess()
The OnSuccess()
callback method is called when the tunnel starts successfully.
Declaration:
void OnSuccess()
<!--NeedCopy-->
Interface IStartTunnelCallback
In this article
Copied!
Failed!