SaveCallback.OnSuccess 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.
Overloads
OnSuccess() |
Notifies the Android System that an
|
OnSuccess(IntentSender) |
Notifies the Android System that an
|
OnSuccess()
Notifies the Android System that an
AutofillService#onSaveRequest(SaveRequest, SaveCallback)
was successfully handled
by the service.
[Android.Runtime.Register("onSuccess", "()V", "", ApiSince=26)]
public void OnSuccess ();
[<Android.Runtime.Register("onSuccess", "()V", "", ApiSince=26)>]
member this.OnSuccess : unit -> unit
- Attributes
Remarks
Notifies the Android System that an AutofillService#onSaveRequest(SaveRequest, SaveCallback)
was successfully handled by the service.
Java documentation for android.service.autofill.SaveCallback.onSuccess()
.
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
OnSuccess(IntentSender)
Notifies the Android System that an
AutofillService#onSaveRequest(SaveRequest, SaveCallback)
was successfully handled
by the service.
[Android.Runtime.Register("onSuccess", "(Landroid/content/IntentSender;)V", "", ApiSince=28)]
public void OnSuccess (Android.Content.IntentSender intentSender);
[<Android.Runtime.Register("onSuccess", "(Landroid/content/IntentSender;)V", "", ApiSince=28)>]
member this.OnSuccess : Android.Content.IntentSender -> unit
Parameters
- intentSender
- IntentSender
intent that will be launched from the context of activity being autofilled.
- Attributes
Remarks
Notifies the Android System that an AutofillService#onSaveRequest(SaveRequest, SaveCallback)
was successfully handled by the service.
This method is useful when the service requires extra work—for example, launching an activity asking the user to authenticate first —before it can process the request, as the intent will be launched from the context of the activity being autofilled and hence will be part of that activity's stack.
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.