putEntryCalendar

@CanIgnoreReturnValue
open fun putEntryCalendar(@NonNull namespace: String, @NonNull name: String, @NonNull accessControlProfileIds: Collection<AccessControlProfileId>, @NonNull value: Calendar): 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 a tagged string with tag 0 as per Section 2.4.1 of RFC 7049. This means that the tagged string follows the standard format described in RFC 3339, as refined by Section 3.3 of RFC 4287.

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.