Sdílet prostřednictvím


ResultData.GetStatus(String, String) Method

Definition

Gets the status of an entry.

[Android.Runtime.Register("getStatus", "(Ljava/lang/String;Ljava/lang/String;)I", "GetGetStatus_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=30)]
public abstract int GetStatus (string namespaceName, string name);
[<Android.Runtime.Register("getStatus", "(Ljava/lang/String;Ljava/lang/String;)I", "GetGetStatus_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=30)>]
abstract member GetStatus : string * string -> int

Parameters

namespaceName
String

the namespace name of the entry.

name
String

the name of the entry to get the value for.

Returns

the status indicating whether the value was retrieved and if not, why.

Attributes

Remarks

Gets the status of an entry.

This returns #STATUS_OK if the value was retrieved, #STATUS_NO_SUCH_ENTRY if the given entry wasn't retrieved, #STATUS_NOT_REQUESTED if it wasn't requested, #STATUS_NOT_IN_REQUEST_MESSAGE if the request message was set but the entry wasn't present in the request message, #STATUS_USER_AUTHENTICATION_FAILED if the value wasn't retrieved because the necessary user authentication wasn't performed, #STATUS_READER_AUTHENTICATION_FAILED if the supplied reader certificate chain didn't match the set of certificates the entry was provisioned with, or #STATUS_NO_ACCESS_CONTROL_PROFILES if the entry was configured without any access control profiles.

Java documentation for android.security.identity.ResultData.getStatus(java.lang.String, java.lang.String).

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