Added in API level 30
    Builder
class Builder
| kotlin.Any | |
| ↳ | android.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(profile: AccessControlProfile)Adds a new access control profile to the builder. | 
| PersonalizationData | build()Creates a new  | 
| PersonalizationData.Builder | putEntry(namespace: String, name: String, accessControlProfileIds: MutableCollection<AccessControlProfileId!>, value: ByteArray)Adds a new entry to the builder. | 
Public constructors
Public methods
addAccessControlProfile
Added in API level 30
      fun addAccessControlProfile(profile: AccessControlProfile): PersonalizationData.Builder
Adds a new access control profile to the builder.
| Parameters | |
|---|---|
| profile | AccessControlProfile: The access control profile. This value cannot be null. | 
| Return | |
|---|---|
| PersonalizationData.Builder | The builder. This value cannot be null. | 
build
Added in API level 30
      fun build(): PersonalizationData
Creates a new PersonalizationData with all the entries added to the builder.
| Return | |
|---|---|
| PersonalizationData | A new PersonalizationDatainstance. This value cannot benull. | 
putEntry
Added in API level 30
      fun putEntry(
namespace: String,
name: String,
accessControlProfileIds: MutableCollection<AccessControlProfileId!>,
value: ByteArray
): PersonalizationData.Builder
Adds a new entry to the builder.
| Parameters | |
|---|---|
| namespace | String: The namespace to use, e.g. org.iso.18013-5.2019. This value cannot benull. | 
| name | String: The name of the entry, e.g. height. This value cannot benull. | 
| accessControlProfileIds | MutableCollection<AccessControlProfileId!>: A set of access control profiles to use. This value cannot be null. | 
| value | ByteArray: The value to add, in CBOR encoding. This value cannot be null. | 
| Return | |
|---|---|
| PersonalizationData.Builder | The builder. This value cannot be null. | 
