FillCallback.OnSuccess(FillResponse) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.