Service.OnRebind(Intent) Method

Definition

Called when new clients have connected to the service, after it had previously been notified that all had disconnected in its #onUnbind.

[Android.Runtime.Register("onRebind", "(Landroid/content/Intent;)V", "GetOnRebind_Landroid_content_Intent_Handler")]
public virtual void OnRebind (Android.Content.Intent? intent);
[<Android.Runtime.Register("onRebind", "(Landroid/content/Intent;)V", "GetOnRebind_Landroid_content_Intent_Handler")>]
abstract member OnRebind : Android.Content.Intent -> unit
override this.OnRebind : Android.Content.Intent -> unit

Parameters

intent
Intent

The Intent that was used to bind to this service, as given to android.content.Context#bindService Context.bindService. Note that any extras that were included with the Intent at that point will <em>not</em> be seen here.

Attributes

Remarks

Called when new clients have connected to the service, after it had previously been notified that all had disconnected in its #onUnbind. This will only be called if the implementation of #onUnbind was overridden to return true.

Java documentation for android.app.Service.onRebind(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