ContactInfoParcelable


public final class ContactInfoParcelable implements Parcelable


Obiekt Parcelable zawierający informacje o jednym kontakcie.

Używane jako metadane powiązane z E2eeAccountContactKeyParcelable.

Podsumowanie

Typy zagnieżdżone

Klasa Builder dla ContactInfoParcelable.

Metody publiczne

boolean
@Nullable String

Zwraca wyświetlaną nazwę kontaktu przechowywaną w kolumnie DISPLAY_NAME dostawcy kontaktów.

@Nullable String

Zwraca adres e-mail kontaktu przechowywany w kolumnie ADDRESS dostawcy kontaktów.

@NonNull String

Zwraca klucz wyszukiwania kontaktu przechowywany w kolumnie LOOKUP_KEY dostawcy kontaktów.

@Nullable String

Zwraca numer telefonu kontaktu przechowywany w kolumnie NUMBER dostawcy kontaktów.

int
void
writeToParcel(Parcel dest, int flags)

Odziedziczone stałe

android.os.Parcelable
static final int
static final int
static final int
static final int

Metody dziedziczone

android.os.Parcelable
abstract int
int

Stałe

TWÓRCÓW

public static final Parcelable.Creator<ContactInfoParcelableCREATOR

Pola publiczne

displayName

public @Nullable String displayName

emailAddress

public @Nullable String emailAddress

lookupKey

public @NonNull String lookupKey

phoneNumber

public @Nullable String phoneNumber

Metody publiczne

równa się

public boolean equals(@Nullable Object other)

getDisplayName

public @Nullable String getDisplayName()

Zwraca wyświetlaną nazwę kontaktu przechowywaną w kolumnie DISPLAY_NAME dostawcy kontaktów.

getEmailAddress

public @Nullable String getEmailAddress()

Zwraca adres e-mail kontaktu przechowywany w kolumnie ADDRESS dostawcy kontaktów.

getLookupKey

public @NonNull String getLookupKey()

Zwraca klucz wyszukiwania kontaktu przechowywany w kolumnie LOOKUP_KEY dostawcy kontaktów.

getPhoneNumber

public @Nullable String getPhoneNumber()

Zwraca numer telefonu kontaktu przechowywany w kolumnie NUMBER dostawcy kontaktów.

hashCode

public int hashCode()

writeToParcel

public void writeToParcel(Parcel dest, int flags)