SaveInfo.Builder.SetPositiveAction(Int32) 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.
Sets the style for the positive save action.
[Android.Runtime.Register("setPositiveAction", "(I)Landroid/service/autofill/SaveInfo$Builder;", "", ApiSince=30)]
public Android.Service.Autofill.SaveInfo.Builder SetPositiveAction(int style);
[<Android.Runtime.Register("setPositiveAction", "(I)Landroid/service/autofill/SaveInfo$Builder;", "", ApiSince=30)>]
member this.SetPositiveAction : int -> Android.Service.Autofill.SaveInfo.Builder
Parameters
- style
- Int32
The action style. Value is one of the following: SaveInfo.POSITIVE_BUTTON_STYLE_SAVE; SaveInfo.POSITIVE_BUTTON_STYLE_CONTINUE
Returns
This builder. This value cannot be null.
- Attributes
Remarks
Sets the style for the positive save action.
This allows an autofill service to customize the style of the positive action in the save UI. Note that selecting the positive action regardless of its style would dismiss the save UI and calling into the save request. The service should take the next action if selecting style SaveInfo.POSITIVE_BUTTON_STYLE_CONTINUE. The default style is SaveInfo.POSITIVE_BUTTON_STYLE_SAVE
Android reference for android.service.autofill.SaveInfo.Builder.setPositiveAction.
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.