E2eeAccountKeyInfo.Builder


class E2eeAccountKeyInfo.Builder


E2eeAccountKeyInfo 的建構工具類別。

摘要

公用建構函式

針對 E2eeAccountKeyInfo 建立新的建構工具。

針對 E2eeAccountKeyInfo 建立新的建構工具。

公開函式

E2eeAccountKeyInfo!

建構 E2eeAccountKeyInfo。

E2eeAccountKeyInfo.Builder!

設定要更新的金鑰的 accountId。

E2eeAccountKeyInfo.Builder!

設定處理更新時與金鑰相關聯的 contact infos。

E2eeAccountKeyInfo.Builder!

設定要更新的金鑰 device ID。

E2eeAccountKeyInfo.Builder!

設定處理更新時要與金鑰建立關聯的新 keyValue。

公用建構函式

Builder

Builder()

針對 E2eeAccountKeyInfo 建立新的建構工具。

Builder

Builder(origin: E2eeAccountKeyInfo!)

針對 E2eeAccountKeyInfo 建立新的建構工具。

公開函式

build

fun build(): E2eeAccountKeyInfo!

建構 E2eeAccountKeyInfo。

setAccountId

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

設定要更新的金鑰的 accountId。

setContactInfos

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

設定處理更新時與金鑰相關聯的 contact infos。

setDeviceId

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

設定要更新的金鑰 device ID。

setKeyValue

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

設定處理更新時要與金鑰建立關聯的新 keyValue。