PhoneNumber
最新版本的 SDK 已不再提供此課程。

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

延伸:Object
實作Parcelable
套件:accountkit
建構函式
PhoneNumber(String, String)
public PhoneNumber(String countryCode, String phoneNumber)
參數說明
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()
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)
參數說明
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)
參數說明
dest
flags
常數
CREATOR
public static final Creator CREATOR