E2eeContactKeyParcelable.Builder


public final class E2eeContactKeyParcelable.Builder


Builder class for E2eeContactKeyParcelable.

Summary

Public constructors

Creates a new builder.

Creates a new builder.

Public methods

E2eeContactKeyParcelable

Builds the E2eeContactKeyParcelable.

E2eeContactKeyParcelable.Builder

Sets the account ID.

E2eeContactKeyParcelable.Builder

Sets the device ID.

E2eeContactKeyParcelable.Builder

Sets the display name of the contact associated with the key.

E2eeContactKeyParcelable.Builder

Sets the email address of the contact associated with the key.

E2eeContactKeyParcelable.Builder

Sets the public key.

E2eeContactKeyParcelable.Builder
@CanIgnoreReturnValue
setLocalVerificationState(int localVerificationState)

Sets the local verification state of the key.

E2eeContactKeyParcelable.Builder

Sets the lookup key.

E2eeContactKeyParcelable.Builder

Sets the owner package name.

E2eeContactKeyParcelable.Builder

Sets the phone number of the contact associated with the key.

E2eeContactKeyParcelable.Builder
@CanIgnoreReturnValue
setRemoteVerificationState(int remoteVerificationState)

Sets the remote verification state of the key.

E2eeContactKeyParcelable.Builder

Sets the timestamp of the last update.

Public constructors

Builder

public Builder()

Creates a new builder.

Builder

public Builder(E2eeContactKeyParcelable origin)

Creates a new builder.

Public methods

setDisplayName

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

Sets the display name of the contact associated with the key.

setEmailAddress

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

Sets the email address of the contact associated with the key.

setKeyValue

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

Sets the public key.

setLocalVerificationState

@CanIgnoreReturnValue
public E2eeContactKeyParcelable.Builder setLocalVerificationState(int localVerificationState)

Sets the local verification state of the key.

setPhoneNumber

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

Sets the phone number of the contact associated with the key.

setRemoteVerificationState

@CanIgnoreReturnValue
public E2eeContactKeyParcelable.Builder setRemoteVerificationState(int remoteVerificationState)

Sets the remote verification state of the key.