IdentityCredentialStore.GetDirectAccessInstance(Context) Method

Definition

Gets the IdentityCredentialStore for direct access.

[Android.Runtime.Register("getDirectAccessInstance", "(Landroid/content/Context;)Landroid/security/identity/IdentityCredentialStore;", "", ApiSince=30)]
public static Android.Security.Identity.IdentityCredentialStore? GetDirectAccessInstance (Android.Content.Context context);
[<Android.Runtime.Register("getDirectAccessInstance", "(Landroid/content/Context;)Landroid/security/identity/IdentityCredentialStore;", "", ApiSince=30)>]
static member GetDirectAccessInstance : Android.Content.Context -> Android.Security.Identity.IdentityCredentialStore

Parameters

context
Context

the application context.

Returns

the IdentityCredentialStore or null if direct access is not supported on this device.

Attributes

Remarks

Gets the IdentityCredentialStore for direct access.

Direct access requires specialized NFC hardware and may not be supported on all devices even if default store is available. Credentials provisioned to the direct access store should <strong>always</strong> use reader authentication to protect data elements.

Java documentation for android.security.identity.IdentityCredentialStore.getDirectAccessInstance(android.content.Context).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to