MediaScannerConnection.OnServiceConnected(ComponentName, IBinder) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.