E2eeAccountContactKeyParcelable


public final class E2eeAccountContactKeyParcelable implements Parcelable, E2eeBaseKeyParcelable


يمثّل هذا النوع مفتاح حساب، وهو مفتاح يملكه العميل ويُستخدم في التشفير التام بين الأطراف ويكون مرتبطًا بحساب معيّن خاص بالتطبيق، وقد يكون مرتبطًا بصفر أو جهة اتصال واحدة أو أكثر.

ملخّص

الأنواع المتداخلة

فئة أداة الإنشاء الخاصة بـ 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)