Container for phone numbers with a separate country code from full phone number
Mở rộng: | Object |
Triển khai: | Parcelable |
Gói: | accountkit |
PhoneNumber(String, String)
public PhoneNumber(String countryCode, String phoneNumber)
Thông số | Mô tả |
---|---|
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)
Thông số | Mô tả |
---|---|
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)
Thông số | Mô tả |
---|---|
dest | |
flags |
CREATOR
public static final Creator CREATOR