Partager via


KeyStoreException.RetryWhenConnectivityAvailable 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 when the device regains connectivity.

[Android.Runtime.Register("RETRY_WHEN_CONNECTIVITY_AVAILABLE", 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 RetryWhenConnectivityAvailable = 3;
[<Android.Runtime.Register("RETRY_WHEN_CONNECTIVITY_AVAILABLE", 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 RetryWhenConnectivityAvailable : Android.Security.KeyStoreExceptionRetry

Field Value

Value = 3
Attributes

Remarks

Re-try the operation that led to this error when the device regains connectivity. Remote provisioning of keys requires reaching the remote server, and the device is currently unable to due that due to lack of network connectivity.

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

Java documentation for android.security.KeyStoreException.RETRY_WHEN_CONNECTIVITY_AVAILABLE.

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