ContactInfoParcelable


public final class ContactInfoParcelable implements Parcelable


単一の連絡先に関する情報を含む Parcelable オブジェクト。

E2eeAccountContactKeyParcelable に関連付けられたメタデータとして使用されます。

概要

ネストされた型

ContactInfoParcelable のビルダー クラス。

パブリック メソッド

boolean
@Nullable String

連絡先プロバイダの DISPLAY_NAME 列に保存されている連絡先の表示名を返します。

@Nullable String

連絡先プロバイダの ADDRESS 列に保存されている連絡先のメールアドレスを返します。

@NonNull String

連絡先のルックアップ キーを返します。これは、連絡先プロバイダの LOOKUP_KEY 列に保存されています。

@Nullable String

連絡先プロバイダの NUMBER 列に保存されている連絡先の電話番号を返します。

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

定数

CREATOR

public static final Parcelable.Creator<ContactInfoParcelableCREATOR

パブリック フィールド

displayName

public @Nullable String displayName

emailAddress

public @Nullable String emailAddress

lookupKey

public @NonNull String lookupKey

phoneNumber

public @Nullable String phoneNumber

パブリック メソッド

equals

public boolean equals(@Nullable Object other)

getDisplayName

public @Nullable String getDisplayName()

連絡先プロバイダの DISPLAY_NAME 列に保存されている連絡先の表示名を返します。

getEmailAddress

public @Nullable String getEmailAddress()

連絡先プロバイダの ADDRESS 列に保存されている連絡先のメールアドレスを返します。

getLookupKey

public @NonNull String getLookupKey()

連絡先のルックアップ キーを返します。これは、連絡先プロバイダの LOOKUP_KEY 列に保存されています。

getPhoneNumber

public @Nullable String getPhoneNumber()

連絡先プロバイダの NUMBER 列に保存されている連絡先の電話番号を返します。

hashCode

public int hashCode()

writeToParcel

public void writeToParcel(Parcel dest, int flags)