Lenguaje

SettingsPreferenceService.OnBind(Intent) Método

Definición

Devuelve el canal de comunicación para el servicio.

[Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "", ApiSince=36)]
public override sealed Android.OS.IBinder OnBind(Android.Content.Intent? intent);
[<Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "", ApiSince=36)>]
override this.OnBind : Android.Content.Intent -> Android.OS.IBinder

Parámetros

intent
Intent

Intención que se usa para enlazar al servicio. Los extras incluidos cuando el enlace no está disponible aquí.

Devoluciones

que IBinder los clientes usan para comunicarse con el servicio.

Atributos

Comentarios

Java documentación para android.service.settings.preferences.SettingsPreferenceService.onBind(android.content.Intent).

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