E2eeAccountKeyInfo


public final class E2eeAccountKeyInfo implements Parcelable


Contains the information about an account key which can be updated by clients, eg through updateAllE2eeAccountKeys.

Summary

Nested types

public final class E2eeAccountKeyInfo.Builder

Builder class for E2eeAccountKeyInfo.

Constants

static final Parcelable.Creator<E2eeAccountKeyInfo>

Public methods

boolean
@NonNull String

Returns the account ID of the key that will be updated.

@NonNull ImmutableList<ContactInfoParcelable>

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

@NonNull String

Returns the device ID of the key that will be updated.

@NonNull byte[]

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

int
void
writeToParcel(Parcel dest, int flags)

Inherited Constants

From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int

Constants

CREATOR

public static final Parcelable.Creator<E2eeAccountKeyInfoCREATOR

Public fields

accountId

public @NonNull String accountId

deviceId

public @NonNull String deviceId

keyValue

public @NonNull byte[] keyValue

Public methods

equals

public boolean equals(@Nullable Object other)

getAccountId

public @NonNull String getAccountId()

Returns the account ID of the key that will be updated.

getContactInfos

public @NonNull ImmutableList<ContactInfoParcelablegetContactInfos()

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

getDeviceId

public @NonNull String getDeviceId()

Returns the device ID of the key that will be updated.

getKeyValue

public @NonNull byte[] getKeyValue()

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

hashCode

public int hashCode()

writeToParcel

public void writeToParcel(Parcel dest, int flags)