Builder

class Builder

A builder for PersonalizationData.

Constructors

Link copied to clipboard
constructor()
Creates a new builder for a given namespace.

Functions

Link copied to clipboard
Adds a new access control profile to the builder.
Link copied to clipboard
Creates a new PersonalizationData with all the entries added to the builder.
Link copied to clipboard
@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.
Link copied to clipboard
@CanIgnoreReturnValue
open fun putEntryBoolean(@NonNull namespace: String, @NonNull name: String, @NonNull accessControlProfileIds: Collection<AccessControlProfileId>, value: Boolean): PersonalizationData.Builder
Adds a new entry to the builder.
Link copied to clipboard
@CanIgnoreReturnValue
open fun putEntryBytestring(@NonNull namespace: String, @NonNull name: String, @NonNull accessControlProfileIds: Collection<AccessControlProfileId>, @NonNull value: Array<Byte>): PersonalizationData.Builder
Adds a new entry to the builder.
Link copied to clipboard
@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.
Link copied to clipboard
@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.
Link copied to clipboard
@CanIgnoreReturnValue
open fun putEntryString(@NonNull namespace: String, @NonNull name: String, @NonNull accessControlProfileIds: Collection<AccessControlProfileId>, @NonNull value: String): PersonalizationData.Builder
Adds a new entry to the builder.