E2eeAccountContactKeyParcelable


public final class E2eeAccountContactKeyParcelable implements Parcelable, E2eeBaseKeyParcelable


アカウントキーを表します。これは、特定アプリ固有のアカウントに関連付けられたエンドツーエンド暗号化に使用されるクライアント所有のキーです。このキーは、0 個、1 個、または複数の連絡先に関連付けられる可能性があります。

概要

ネストされた型

E2eeAccountContactKeyParcelable のビルダー クラス。

パブリック メソッド

boolean
@NonNull String

アカウント キーの account ID を返します。

@NonNull ImmutableList<ContactInfoParcelable>

キーに関連付けられた ContactInfoParcelable を返します。

@NonNull String

アカウント キーの device ID を返します。

@Nullable byte[]

アカウントキーの key bytes を返します。

int

鍵のローカル検証状態を返します。

@NonNull String

アカウントキーを所有するパッケージの名前を返します。

int

鍵のリモート検証状態を返します。

long

アカウント キーの timestamp of the last update を返します。

int
void
writeToParcel(Parcel dest, int flags)

継承される定数

継承元: android.os.Parcelable
static final int
static final int
static final int
static final int

継承されるメソッド

継承元: android.os.Parcelable
abstract int
int

定数

パブリック フィールド

accountId

public @NonNull String accountId

deviceId

public @NonNull String deviceId

keyValue

public @Nullable byte[] keyValue

localVerificationState

public int localVerificationState

ownerPackageName

public @NonNull String ownerPackageName

remoteVerificationState

public int remoteVerificationState

timeUpdated

public long timeUpdated

パブリック メソッド

equals

public boolean equals(@Nullable Object other)

getAccountId

public @NonNull String getAccountId()

アカウント キーの account ID を返します。

getContactInfos

public @NonNull ImmutableList<ContactInfoParcelablegetContactInfos()

キーに関連付けられた ContactInfoParcelable を返します。

キーが連絡先に関連付けられていない場合、リストは空になることがあります。キーが複数の連絡先に関連付けられている場合(たとえば、同じ電話番号を共有する複数の連絡先)、複数のエントリが含まれることがあります。

getDeviceId

public @NonNull String getDeviceId()

アカウント キーの device ID を返します。

getKeyValue

public @Nullable byte[] getKeyValue()

アカウントキーの key bytes を返します。

getLocalVerificationState

public int getLocalVerificationState()

鍵のローカル検証状態を返します。

詳しくは、com.google.android.gms.contactkeys.constants.VerificationState をご覧ください。

getOwnerPackageName

public @NonNull String getOwnerPackageName()

アカウントキーを所有するパッケージの名前を返します。

getRemoteVerificationState

public int getRemoteVerificationState()

鍵のリモート検証状態を返します。

詳しくは、com.google.android.gms.contactkeys.constants.VerificationState をご覧ください。

getTimeUpdated

public long getTimeUpdated()

アカウント キーの timestamp of the last update を返します。

hashCode

public int hashCode()

writeToParcel

public void writeToParcel(Parcel dest, int flags)