E2eeContactKeyParcelable.Builder


public final class E2eeContactKeyParcelable.Builder


E2eeContactKeyParcelable 的构建器类。

摘要

公共构造函数

创建新的构建器。

创建新的构建器。

公共方法

E2eeContactKeyParcelable

构建 E2eeContactKeyParcelable。

E2eeContactKeyParcelable.Builder

设置 account ID。

E2eeContactKeyParcelable.Builder

设置 device ID。

E2eeContactKeyParcelable.Builder

设置与密钥关联的联系人的 display name。

E2eeContactKeyParcelable.Builder

设置与密钥关联的联系人的 email address。

E2eeContactKeyParcelable.Builder

设置 public key。

E2eeContactKeyParcelable.Builder
@CanIgnoreReturnValue
setLocalVerificationState(int localVerificationState)

设置键的 local verification state。

E2eeContactKeyParcelable.Builder

设置 lookup key。

E2eeContactKeyParcelable.Builder

设置 owner package name。

E2eeContactKeyParcelable.Builder

设置与密钥关联的联系人的 phone number。

E2eeContactKeyParcelable.Builder
@CanIgnoreReturnValue
setRemoteVerificationState(int remoteVerificationState)

设置键的 remote verification state。

E2eeContactKeyParcelable.Builder

设置 timestamp of the last update。

公共构造函数

Builder

public Builder()

创建新的构建器。

Builder

public Builder(E2eeContactKeyParcelable origin)

创建新的构建器。

公共方法

setDisplayName

@CanIgnoreReturnValue
public E2eeContactKeyParcelable.Builder setDisplayName(@Nullable String displayName)

设置与密钥关联的联系人的 display name。

setEmailAddress

@CanIgnoreReturnValue
public E2eeContactKeyParcelable.Builder setEmailAddress(@Nullable String emailAddress)

设置与密钥关联的联系人的 email address。

setKeyValue

@CanIgnoreReturnValue
public E2eeContactKeyParcelable.Builder setKeyValue(@Nullable byte[] keyValue)

设置 public key。

setLocalVerificationState

@CanIgnoreReturnValue
public E2eeContactKeyParcelable.Builder setLocalVerificationState(int localVerificationState)

设置键的 local verification state。

setPhoneNumber

@CanIgnoreReturnValue
public E2eeContactKeyParcelable.Builder setPhoneNumber(@Nullable String phoneNumber)

设置与密钥关联的联系人的 phone number。

setRemoteVerificationState

@CanIgnoreReturnValue
public E2eeContactKeyParcelable.Builder setRemoteVerificationState(int remoteVerificationState)

设置键的 remote verification state。