CrossDeviceAuthenticationException.ErrorUnauthorized Field
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.
Caution
This constant will be removed in the future version. Use Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode enum directly instead of this field.
The request is not authorized.
[Android.Runtime.Register("ERROR_UNAUTHORIZED", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode enum directly instead of this field.", true)]
public const Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode ErrorUnauthorized = 1;
[<Android.Runtime.Register("ERROR_UNAUTHORIZED", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode enum directly instead of this field.", true)>]
val mutable ErrorUnauthorized : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode
Field Value
Value = 1- Attributes
Remarks
The request is not authorized. This error indicates that the user must take some action on the source device before the request can be fulfilled. The required conditions vary by form factor, but typically require that the has either unlocked the source device directly or has an an active connection to another trusted device. See the associated message for more details. A more specific error code from this class will be returned instead this error for common error conditions that do not vary.
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.