Language

SettingsPreferenceService.OnBind(Intent) Method

Definition

Returns the communication channel for the service.

[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

Parameters

intent
Intent

The intent used to bind to the service. Extras included when binding are not available here.

Returns

The IBinder that clients use to communicate with the service.

Attributes

Remarks

Java documentation for android.service.settings.preferences.SettingsPreferenceService.onBind(android.content.Intent).

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