AutofillService.OnDisconnected Method

Definition

Called when the Android system disconnects from the service.

[Android.Runtime.Register("onDisconnected", "()V", "GetOnDisconnectedHandler", ApiSince=26)]
public virtual void OnDisconnected ();
[<Android.Runtime.Register("onDisconnected", "()V", "GetOnDisconnectedHandler", ApiSince=26)>]
abstract member OnDisconnected : unit -> unit
override this.OnDisconnected : unit -> unit
Attributes

Remarks

Called when the Android system disconnects from the service.

At this point this service may no longer be an active AutofillService. It should not make calls on AutofillManager that requires the caller to be the current service.

Java documentation for android.service.autofill.AutofillService.onDisconnected().

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