FillCallback.OnSuccess(FillResponse) Method

Definition

Notifies the Android System that a fill request (AutofillService#onFillRequest(FillRequest, android.os.CancellationSignal, FillCallback)) was successfully fulfilled by the service.

[Android.Runtime.Register("onSuccess", "(Landroid/service/autofill/FillResponse;)V", "", ApiSince=26)]
public void OnSuccess (Android.Service.Autofill.FillResponse? response);
[<Android.Runtime.Register("onSuccess", "(Landroid/service/autofill/FillResponse;)V", "", ApiSince=26)>]
member this.OnSuccess : Android.Service.Autofill.FillResponse -> unit

Parameters

response
FillResponse

autofill information for that activity, or null when the service cannot autofill the activity.

Attributes

Remarks

Notifies the Android System that a fill request (AutofillService#onFillRequest(FillRequest, android.os.CancellationSignal, FillCallback)) was successfully fulfilled by the service.

This method should always be called, even if the service doesn't have the heuristics to fulfill the request (in which case it should be called with null).

See the main AutofillService documentation for more details and examples.

Java documentation for android.service.autofill.FillCallback.onSuccess(android.service.autofill.FillResponse).

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