E2eeContactKeyParcelable


public final class E2eeContactKeyParcelable implements Parcelable, E2eeBaseKeyParcelable


表示与单个联系人相关联的 E2eeBaseKeyParcelable

如果键可能与零个或多个联系人相关联,则使用 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

公共方法

等号

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)