putEntryInteger

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

Adds a new entry to the builder.

This is a convenience method which encodes value as CBOR and adds the resulting bytes using putEntry. The resulting CBOR will be major type 0 (unsigned integer) if non-negative, otherwise major type 1 (negative integer).

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.