語言

KeyChain.IsCredentialManagementApp(Context) 方法

定義

檢查來電者是否是憑證管理應用程式 CredentialManagementApp。

[Android.Runtime.Register("isCredentialManagementApp", "(Landroid/content/Context;)Z", "", ApiSince=31)]
public static bool IsCredentialManagementApp(Android.Content.Context context);
[<Android.Runtime.Register("isCredentialManagementApp", "(Landroid/content/Context;)Z", "", ApiSince=31)>]
static member IsCredentialManagementApp : Android.Content.Context -> bool

參數

context
Context

傳回

true 如果來電者是憑證管理應用程式。

屬性

備註

檢查來電者是否是憑證管理應用程式 CredentialManagementApp。 憑證管理應用程式能在未受管理的裝置上管理使用者的鑰匙串憑證。

KeyChain#createManageCredentialsIntent 應用程式應該用來申請成為憑證管理應用程式。 使用者必須先核准此請求,應用程式才能管理使用者的憑證。 裝置上只能有一個憑證管理。

Java 文件 android.security.KeyChain.isCredentialManagementApp(android.content.Context)。

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

適用於