AutofillManager.Cancel 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.
Called to indicate the current autofill context should be cancelled.
[Android.Runtime.Register("cancel", "()V", "", ApiSince=26)]
public void Cancel ();
[<Android.Runtime.Register("cancel", "()V", "", ApiSince=26)>]
member this.Cancel : unit -> unit
- Attributes
Remarks
Called to indicate the current autofill context should be cancelled.
This method is typically called by View Views
that manage virtual views; for example, when the view is rendering an HTML
page with a form and virtual views that represent the HTML elements, it should call this method if the user does not post the form but moves to another form in this page.
<b>Note:</b> This method does not need to be called on regular application lifecycle methods such as android.app.Activity#finish()
.
Java documentation for android.view.autofill.AutofillManager.cancel()
.
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.