putEntry

@CanIgnoreReturnValue
open fun putEntry(@NonNull namespace: String, @NonNull name: String, @NonNull accessControlProfileIds: Collection<AccessControlProfileId>, @NonNull value: Array<Byte>): PersonalizationData.Builder

Adds a new entry to the builder.

This is a low-level method which expects the data to be the bytes of a CBOR value. When possible, applications should use methods such as putEntryString or putEntryInteger which accept normal Java data types.

Return

The builder.

Parameters

namespace

The namespace to use, e.g. org.iso.18013-5.2019.

name

The name of the entry, e.g. height.

accessControlProfileIds

A set of access control profiles to use.

value

The value to add, in CBOR encoding.