CredentialDataResult.IEntries.GetEntry(String, String) 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 raw CBOR data for the value of an entry.
[Android.Runtime.Register("getEntry", "(Ljava/lang/String;Ljava/lang/String;)[B", "GetGetEntry_Ljava_lang_String_Ljava_lang_String_Handler:Android.Security.Identity.CredentialDataResult/IEntriesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public byte[]? GetEntry (string namespaceName, string name);
[<Android.Runtime.Register("getEntry", "(Ljava/lang/String;Ljava/lang/String;)[B", "GetGetEntry_Ljava_lang_String_Ljava_lang_String_Handler:Android.Security.Identity.CredentialDataResult/IEntriesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member GetEntry : string * string -> byte[]
Parameters
- namespaceName
- String
the namespace name of the entry.
- name
- String
the name of the entry to get the value for.
Returns
the raw CBOR data or null
if no entry with the given name exists.
- Attributes
Remarks
Gets the raw CBOR data for the value of an entry.
This should only be called on an entry for which the #getStatus(String, String)
method returns #STATUS_OK
.
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.