Share via


KeyStoreException.RetryWithExponentialBackoff Field

Definition

Caution

This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionRetry enum directly instead of this field.

Re-try the operation that led to this error with an exponential back-off delay.

[Android.Runtime.Register("RETRY_WITH_EXPONENTIAL_BACKOFF", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionRetry enum directly instead of this field.", true)]
public const Android.Security.KeyStoreExceptionRetry RetryWithExponentialBackoff = 2;
[<Android.Runtime.Register("RETRY_WITH_EXPONENTIAL_BACKOFF", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.KeyStoreExceptionRetry enum directly instead of this field.", true)>]
val mutable RetryWithExponentialBackoff : Android.Security.KeyStoreExceptionRetry

Field Value

Value = 2
Attributes

Remarks

Re-try the operation that led to this error with an exponential back-off delay. The first delay should be between 5 to 30 seconds, and each subsequent re-try should double the delay time.

This value is returned when #isTransientFailure() is true.

Java documentation for android.security.KeyStoreException.RETRY_WITH_EXPONENTIAL_BACKOFF.

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