E2eeContactKeyParcelable


public final class E2eeContactKeyParcelable implements Parcelable, E2eeBaseKeyParcelable


単一の連絡先に紐付けられた E2eeBaseKeyParcelable を表します。

キーが 0 個以上の連絡先に関連付けられる可能性がある場合は、代わりに E2eeAccountContactKeyParcelable が使用されます。

概要

ネストされた型

E2eeContactKeyParcelable のビルダー クラス。

パブリック メソッド

boolean
@NonNull String

連絡先キーの account ID を返します。

@NonNull String

連絡先キーの device ID を返します。

@Nullable String

キーに関連付けられた連絡先の display name を返します。

@Nullable String

キーに関連付けられた連絡先の email address を返します。

@Nullable byte[]

連絡先キーの key bytes を返します。

int

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

@NonNull String

キーに関連付けられている単一の連絡先の lookup key を返します。

@NonNull String

キーを所有するパッケージの名前を返します。

@Nullable String

キーに関連付けられた連絡先の phone number を返します。

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

定数

CREATOR

public static final Parcelable.Creator<E2eeContactKeyParcelableCREATOR

パブリック フィールド

accountId

public @NonNull String accountId

deviceId

public @NonNull String deviceId

displayName

public @Nullable String displayName

emailAddress

public @Nullable String emailAddress

keyValue

public @Nullable byte[] keyValue

localVerificationState

public int localVerificationState

lookupKey

public @NonNull String lookupKey

ownerPackageName

public @NonNull String ownerPackageName

phoneNumber

public @Nullable String phoneNumber

remoteVerificationState

public int remoteVerificationState

timeUpdated

public long timeUpdated

パブリック メソッド

equals

public boolean equals(@Nullable Object other)

getAccountId

public @NonNull String getAccountId()

連絡先キーの account ID を返します。

getDeviceId

public @NonNull String getDeviceId()

連絡先キーの device ID を返します。

getDisplayName

public @Nullable String getDisplayName()

キーに関連付けられた連絡先の display name を返します。

getEmailAddress

public @Nullable String getEmailAddress()

キーに関連付けられた連絡先の email address を返します。

getKeyValue

public @Nullable byte[] getKeyValue()

連絡先キーの key bytes を返します。

getLocalVerificationState

public int getLocalVerificationState()

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

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

getLookupKey

public @NonNull String getLookupKey()

キーに関連付けられている単一の連絡先の lookup key を返します。

getOwnerPackageName

public @NonNull String getOwnerPackageName()

キーを所有するパッケージの名前を返します。

getPhoneNumber

public @Nullable String getPhoneNumber()

キーに関連付けられた連絡先の phone number を返します。

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)