語言

CrossDeviceAuthenticationException.ErrorUnauthorized 欄位

定義

警告

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

此請求未經授權。

[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

欄位值

Value = 1
屬性

備註

此請求未經授權。 此錯誤表示使用者必須對來源裝置採取某些操作,才能完成請求。 所需條件依規格而異,但通常要求必須直接解鎖來源裝置,或與另一個受信任裝置有活躍連線。 詳情請參閱相關訊息。 此類別中會回傳一個更具體的錯誤代碼,該錯誤條件為常見錯誤條件且不變。

Android 參考資料。android.security.authenticationpolicy.CrossDeviceAuthenticationException.ERROR_UNAUTHORIZED

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於