Android.Net.VpnService.OnBind Method
Return the communication interface to the service.

Syntax

[Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "GetOnBind_Landroid_content_Intent_Handler")]
public override Android.OS.IBinder OnBind (Android.Content.Intent intent)

See Also

Android.App.Service.OnBind(Android.Content.Intent)

Parameters

intent
The Intent that was used to bind to this service, as given to Android.Content.Context.BindService(Android.Content.Intent, Android.Content.IServiceConnection, Android.Content.IServiceConnection). Note that any extras that were included with the Intent at that point will not be seen here.

Returns

Documentation for this section has not yet been entered.

Remarks

Return the communication interface to the service. This method returns null on Android.Content.Intents other than VpnService.ServiceInterface action. Applications overriding this method must identify the intent and return the corresponding interface accordingly.

[Android Documentation]

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14