Android.Content.IServiceConnection.OnServiceConnected Method
Called when a connection to the Service has been established, with the Android.OS.BinderConsts of the communication channel to the Service.

Syntax

[Android.Runtime.Register("onServiceConnected", "(Landroid/content/ComponentName;Landroid/os/IBinder;)V", "GetOnServiceConnected_Landroid_content_ComponentName_Landroid_os_IBinder_Handler:Android.Content.IServiceConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnServiceConnected (ComponentName name, Android.OS.IBinder service)

Parameters

name
The concrete component name of the service that has been connected.
service
The IBinder of the Service's communication channel, which you can now make calls on.

Remarks

Called when a connection to the Service has been established, with the Android.OS.BinderConsts of the communication channel to the Service.

[Android Documentation]

Requirements

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