語言

IdentityCredentialStore.CreatePresentationSession(Int32) 方法

定義

建立一個新的簡報場次。

[Android.Runtime.Register("createPresentationSession", "(I)Landroid/security/identity/PresentationSession;", "GetCreatePresentationSession_IHandler", ApiSince=33)]
public virtual Android.Security.Identity.PresentationSession CreatePresentationSession(int cipherSuite);
[<Android.Runtime.Register("createPresentationSession", "(I)Landroid/security/identity/PresentationSession;", "GetCreatePresentationSession_IHandler", ApiSince=33)>]
abstract member CreatePresentationSession : int -> Android.Security.Identity.PresentationSession
override this.CreatePresentationSession : int -> Android.Security.Identity.PresentationSession

參數

cipherSuite
Int32

用於與驗證器通訊的密碼套件。

傳回

簡報環節。

屬性

備註

建立一個新的簡報場次。

此方法取得一個物件,用於與遠端驗證器互動,以呈現一個或多個憑證。

此功能僅在功能版本202201或更新版本中實作。 若未實作,呼叫將失敗。UnsupportedOperationException 請參閱 android.content.pm.PackageManager#FEATURE_IDENTITY_CREDENTIAL_HARDWARE 已知的功能版本。

Java 文件 android.security.identity.IdentityCredentialStore.createPresentationSession(int)。

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

適用於