PhoneNumber
Cette classe n’est plus disponible dans la version la plus récente du SDK.

Container for phone numbers with a separate country code from full phone number

Prolonge :Object
Implémentations :Parcelable
Package :accountkit
Constructeurs
PhoneNumber(String, String)
public PhoneNumber(String countryCode, String phoneNumber)
ParamètreDescription
countryCode
phoneNumber
Méthodes d’instance
getPhoneNumber()
public String getPhoneNumber()
getCountryCode()
public String getCountryCode()
getRawPhoneNumber()
public String getRawPhoneNumber()
describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

public int describeContents()
Returns
A bitmask indicating the set of special object types marshalled by the Parcelable.
describeContents()
public int describeContents()
writeToParcel(Parcel, int)

Flatten this object in to a Parcel.

public void writeToParcel(Parcel dest, int flags)
ParamètreDescription
destThe Parcel in which the object should be written.
flagsAdditional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
writeToParcel(Parcel, int)
public void writeToParcel(Parcel dest, int flags)
ParamètreDescription
dest
flags
Constantes
CREATOR
public static final Creator CREATOR