E2eeAccountKeyInfo.Builder


class E2eeAccountKeyInfo.Builder


Builder class for E2eeAccountKeyInfo.

Summary

Public constructors

Creates a new builder for E2eeAccountKeyInfo.

Creates a new builder for E2eeAccountKeyInfo.

Public functions

E2eeAccountKeyInfo!

Builds the E2eeAccountKeyInfo.

E2eeAccountKeyInfo.Builder!

Sets the accountId of the key of the key that should be updated.

E2eeAccountKeyInfo.Builder!

Sets the contact infos that will be associated with the key when processing the update.

E2eeAccountKeyInfo.Builder!

Sets the device ID of the key that should be updated.

E2eeAccountKeyInfo.Builder!

Sets the new keyValue that will be associated with the key when processing the update.

Public constructors

Builder

Builder()

Creates a new builder for E2eeAccountKeyInfo.

Builder

Builder(origin: E2eeAccountKeyInfo!)

Creates a new builder for E2eeAccountKeyInfo.

Public functions

build

fun build(): E2eeAccountKeyInfo!

Builds the E2eeAccountKeyInfo.

setAccountId

@CanIgnoreReturnValue
fun setAccountId(accountId: String): E2eeAccountKeyInfo.Builder!

Sets the accountId of the key of the key that should be updated.

setContactInfos

@CanIgnoreReturnValue
fun setContactInfos(contactInfos: (Mutable)List<ContactInfoParcelable!>): E2eeAccountKeyInfo.Builder!

Sets the contact infos that will be associated with the key when processing the update.

setDeviceId

@CanIgnoreReturnValue
fun setDeviceId(deviceId: String): E2eeAccountKeyInfo.Builder!

Sets the device ID of the key that should be updated.

setKeyValue

@CanIgnoreReturnValue
fun setKeyValue(keyValue: ByteArray): E2eeAccountKeyInfo.Builder!

Sets the new keyValue that will be associated with the key when processing the update.