Entries

interface Entries

A class for representing data elements returned.

Types

Link copied to clipboard
@Retention(value = SOURCE)
annotation class Status
The type of the entry status.

Properties

Link copied to clipboard
The entry was not retrieved because it was configured without any access control profile.
Link copied to clipboard
The entry does not exist.
Link copied to clipboard
The entry wasn't in the request message.
Link copied to clipboard
The entry was not requested.
Link copied to clipboard
val STATUS_OK: Int = 0
Value was successfully retrieved.
Link copied to clipboard
The entry was not retrieved because reader authentication failed.
Link copied to clipboard
val STATUS_UNKNOWN: Int = 1000
The entry was not retrieved and the reason is not known.
Link copied to clipboard
The entry was not retrieved because user authentication failed.

Functions

Link copied to clipboard
abstract fun getEntry(@NonNull namespaceName: String, @NonNull name: String): Array<Byte>
Gets the raw CBOR data for the value of an entry.
Link copied to clipboard
abstract fun getEntryBoolean(@NonNull namespaceName: String, @NonNull name: String): Boolean
Gets the value of an entry.
Link copied to clipboard
abstract fun getEntryBytestring(@NonNull namespaceName: String, @NonNull name: String): Array<Byte>
Gets the value of an entry.
Link copied to clipboard
abstract fun getEntryCalendar(@NonNull namespaceName: String, @NonNull name: String): Calendar
Gets the value of an entry.
Link copied to clipboard
abstract fun getEntryInteger(@NonNull namespaceName: String, @NonNull name: String): Long
Gets the value of an entry.
Link copied to clipboard
abstract fun getEntryNames(@NonNull namespaceName: String): Collection<String>
Get the names of all requested entries in a name space.
Link copied to clipboard
abstract fun getEntryString(@NonNull namespaceName: String, @NonNull name: String): String
Gets the value of an entry.
Link copied to clipboard
Gets the names of namespaces with retrieved entries.
Link copied to clipboard
Get the names of all entries that were successfully retrieved from a name space.
Link copied to clipboard
abstract fun getStatus(@NonNull namespaceName: String, @NonNull name: String): Int
Gets the status of an entry.
Link copied to clipboard
Helper to determine if at least one if the requested entries returned the STATUS_USER_AUTHENTICATION_FAILED status.