PersonalizationData.Builder

public static final class PersonalizationData.Builder
extends Object

java.lang.Object
   ↳ androidx.security.identity.PersonalizationData.Builder


A builder for PersonalizationData.

Summary

Public constructors

Builder()

Creates a new builder for a given namespace.

Public methods

PersonalizationData.Builder addAccessControlProfile(AccessControlProfile profile)

Adds a new access control profile to the builder.

PersonalizationData build()

Creates a new PersonalizationData with all the entries added to the builder.

PersonalizationData.Builder putEntry(String namespace, String name, Collection<AccessControlProfileId> accessControlProfileIds, byte[] value)

Adds a new entry to the builder.

PersonalizationData.Builder putEntryBoolean(String namespace, String name, Collection<AccessControlProfileId> accessControlProfileIds, boolean value)

Adds a new entry to the builder.

PersonalizationData.Builder putEntryBytestring(String namespace, String name, Collection<AccessControlProfileId> accessControlProfileIds, byte[] value)

Adds a new entry to the builder.

PersonalizationData.Builder putEntryCalendar(String namespace, String name, Collection<AccessControlProfileId> accessControlProfileIds, Calendar value)

Adds a new entry to the builder.

PersonalizationData.Builder putEntryInteger(String namespace, String name, Collection<AccessControlProfileId> accessControlProfileIds, long value)

Adds a new entry to the builder.

PersonalizationData.Builder putEntryString(String namespace, String name, Collection<AccessControlProfileId> accessControlProfileIds, String value)

Adds a new entry to the builder.

Inherited methods