IdentityCredentialStore.GetDirectAccessInstance(Context) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.