다음을 통해 공유


SaveInfo.NegativeButtonStyleNever Field

Definition

Caution

This constant will be removed in the future version. Use Android.Service.Autofill.NegativeButtonStyle enum directly instead of this field.

Style for the negative button of the save UI to never do the save operation.

[Android.Runtime.Register("NEGATIVE_BUTTON_STYLE_NEVER", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Autofill.NegativeButtonStyle enum directly instead of this field.", true)]
public const Android.Service.Autofill.NegativeButtonStyle NegativeButtonStyleNever = 2;
[<Android.Runtime.Register("NEGATIVE_BUTTON_STYLE_NEVER", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Autofill.NegativeButtonStyle enum directly instead of this field.", true)>]
val mutable NegativeButtonStyleNever : Android.Service.Autofill.NegativeButtonStyle

Field Value

Value = 2

Implements

Attributes

Remarks

Style for the negative button of the save UI to never do the save operation. This means that the user does not need to save any data on this activity or application. Once the user tapping the negative button, the service should never trigger the save UI again. In addition to this, must consider providing restore options for the user.

Java documentation for android.service.autofill.SaveInfo.NEGATIVE_BUTTON_STYLE_NEVER.

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