Поделиться через


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).

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к