Share via


MediaScannerConnection.OnServiceConnected(ComponentName, IBinder) Method

Definition

Part of the ServiceConnection interface.

[Android.Runtime.Register("onServiceConnected", "(Landroid/content/ComponentName;Landroid/os/IBinder;)V", "GetOnServiceConnected_Landroid_content_ComponentName_Landroid_os_IBinder_Handler")]
public virtual void OnServiceConnected (Android.Content.ComponentName? className, Android.OS.IBinder? service);
[<Android.Runtime.Register("onServiceConnected", "(Landroid/content/ComponentName;Landroid/os/IBinder;)V", "GetOnServiceConnected_Landroid_content_ComponentName_Landroid_os_IBinder_Handler")>]
abstract member OnServiceConnected : Android.Content.ComponentName * Android.OS.IBinder -> unit
override this.OnServiceConnected : Android.Content.ComponentName * Android.OS.IBinder -> unit

Parameters

className
ComponentName

The concrete component name of the service that has been connected.

service
IBinder

The IBinder of the Service's communication channel, which you can now make calls on.

Implements

Attributes

Remarks

Part of the ServiceConnection interface. Do not call.

Java documentation for android.media.MediaScannerConnection.onServiceConnected(android.content.ComponentName, android.os.IBinder).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to