Lenguaje

RemoteViewsService.OnBind(Intent) Método

Definición

Devuelva el canal de comunicación al servicio.

[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);
[<Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "GetOnBind_Landroid_content_Intent_Handler")>]
override this.OnBind : Android.Content.Intent -> Android.OS.IBinder

Parámetros

intent
Intent

Intención que se usó para enlazar a este servicio, tal como se dio a Android.Content.Context.Context.BindService(Android.Content.Intent,Android.Content.IServiceConnection,Android.Content.IServiceConnection). Tenga en cuenta que los extras que se incluyeron con la intención en ese momento no se verán aquí.

Devoluciones

Devuelve un IBinder a través del cual los clientes pueden llamar al servicio.

Atributos

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a