Container for phone numbers with a separate country code from full phone number
Prolonge : | Object |
Implémentations : | Parcelable |
Package : | accountkit |
PhoneNumber(String, String)
public PhoneNumber(String countryCode, String phoneNumber)
Paramètre | Description |
---|---|
countryCode | |
phoneNumber |
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()
describeContents()
public int describeContents()
writeToParcel(Parcel, int)
Flatten this object in to a Parcel.
public void writeToParcel(Parcel dest, int flags)
Paramètre | Description |
---|---|
dest | The Parcel in which the object should be written. |
flags | Additional 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ètre | Description |
---|---|
dest | |
flags |
CREATOR
public static final Creator CREATOR