E2eeAccountContactKeyParcelable


public final class E2eeAccountContactKeyParcelable implements Parcelable, E2eeBaseKeyParcelable


מייצג מפתח של חשבון, מפתח בבעלות הלקוח שמשמש להצפנה מקצה לקצה ומקושר לחשבון ספציפי באפליקציה מסוימת, שיכול להיות מקושר לאפס, לאחד או ליותר אנשי קשר.

סיכום

סוגי רכיבים שהוצבו בתוך רכיבים אחרים

מחלקת Builder של E2eeAccountContactKeyParcelable.

ערכים קבועים

static final Parcelable.Creator<E2eeAccountContactKeyParcelable>

‫methods ציבוריים

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)

Inherited Constants

מתוך android.os.Parcelable
static final int
static final int
static final int
static final int

‫methods שעברו בירושה

מתוך android.os.Parcelable
abstract int
int

ערכים קבועים

שדות ציבוריים

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

‫methods ציבוריים

שווה

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)