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

상수

크리에이터

public static final Parcelable.Creator<E2eeAccountContactKeyParcelableCREATOR

공개 필드

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

공개 메서드

같음

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)