IdentityCredentialStore.CreatePresentationSession(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建新的演示文稿会话。
[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
已知功能版本。
适用于 . 的 android.security.identity.IdentityCredentialStore.createPresentationSession(int)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。