共用方式為


CreateCredentialException.TypeUserCanceled Field

Definition

The error type value for when the user intentionally cancelled the request.

[Android.Runtime.Register("TYPE_USER_CANCELED", ApiSince=34)]
public const string TypeUserCanceled;
[<Android.Runtime.Register("TYPE_USER_CANCELED", ApiSince=34)>]
val mutable TypeUserCanceled : string

Field Value

Attributes

Remarks

The error type value for when the user intentionally cancelled the request.

This is a strong indicator that your app should refrain from making the same api call for a certain amount of time to provide a better user experience.

Java documentation for android.credentials.CreateCredentialException.TYPE_USER_CANCELED.

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