E2eeAccountContactKeyParcelable


public final class E2eeAccountContactKeyParcelable implements Parcelable, E2eeBaseKeyParcelable


Biểu thị một khoá tài khoản, một khoá do khách hàng sở hữu dùng để mã hoá hai đầu, được liên kết với một tài khoản dành riêng cho ứng dụng nhất định, có thể được liên kết với không, một hoặc nhiều người liên hệ.

Tóm tắt

Các loại lồng nhau

Lớp trình tạo cho E2eeAccountContactKeyParcelable.

Phương thức công khai

boolean
@NonNull String

Trả về account ID cho khoá tài khoản.

@NonNull ImmutableList<ContactInfoParcelable>

Trả về ContactInfoParcelable liên kết với khoá.

@NonNull String

Trả về device ID cho khoá tài khoản.

@Nullable byte[]

Trả về key bytes của khoá tài khoản.

int

Trả về trạng thái xác minh cục bộ của khoá.

@NonNull String

Trả về tên của gói sở hữu khoá tài khoản.

int

Trả về trạng thái xác minh từ xa của khoá.

long

Trả về timestamp of the last update cho khoá tài khoản.

int
void
writeToParcel(Parcel dest, int flags)

Hằng số kế thừa

Từ android.os.Parcelable
static final int
static final int
static final int
static final int

Các phương thức kế thừa

Từ android.os.Parcelable
abstract int
int

Hằng số

Trường công khai

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

Phương thức công khai

bằng

public boolean equals(@Nullable Object other)

getAccountId

public @NonNull String getAccountId()

Trả về account ID cho khoá tài khoản.

getContactInfos

public @NonNull ImmutableList<ContactInfoParcelablegetContactInfos()

Trả về ContactInfoParcelable liên kết với khoá.

Danh sách này có thể trống nếu khoá không được liên kết với bất kỳ người liên hệ nào. Nó có thể chứa nhiều mục nếu khoá được liên kết với nhiều người liên hệ (ví dụ: nhiều người liên hệ dùng chung một số điện thoại).

getDeviceId

public @NonNull String getDeviceId()

Trả về device ID cho khoá tài khoản.

getKeyValue

public @Nullable byte[] getKeyValue()

Trả về key bytes của khoá tài khoản.

getLocalVerificationState

public int getLocalVerificationState()

Trả về trạng thái xác minh cục bộ của khoá.

Hãy xem com.google.android.gms.contactkeys.constants.VerificationState để biết thêm chi tiết.

getOwnerPackageName

public @NonNull String getOwnerPackageName()

Trả về tên của gói sở hữu khoá tài khoản.

getRemoteVerificationState

public int getRemoteVerificationState()

Trả về trạng thái xác minh từ xa của khoá.

Hãy xem com.google.android.gms.contactkeys.constants.VerificationState để biết thêm chi tiết.

getTimeUpdated

public long getTimeUpdated()

Trả về timestamp of the last update cho khoá tài khoản.

hashCode

public int hashCode()

writeToParcel

public void writeToParcel(Parcel dest, int flags)