語言

KeyStoreException.RequiresUserAuthentication 方法

定義

顯示故障是否因裝置被鎖定所致。

[Android.Runtime.Register("requiresUserAuthentication", "()Z", "GetRequiresUserAuthenticationHandler", ApiSince=33)]
public virtual bool RequiresUserAuthentication();
[<Android.Runtime.Register("requiresUserAuthentication", "()Z", "GetRequiresUserAuthenticationHandler", ApiSince=33)>]
abstract member RequiresUserAuthentication : unit -> bool
override this.RequiresUserAuthentication : unit -> bool

傳回

若金鑰操作失敗,因為使用者必須驗證(例如解鎖裝置),則為真。

屬性

備註

顯示故障是否因裝置被鎖定所致。

Java 文件 android.security.KeyStoreException.requiresUserAuthentication()。

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

適用於