CountryCodePicker
CountryCodePicker is an interface that provides the different utilities for the country code picker.
Properties
Returns the country code e.g KE.
Returns the list of countries to be displayed in the country code picker dialog.
Returns the phone number.
Shows the country code in the text field if true.
Shows the country flag in the text field if true.
Functions
Returns the country name. i.e Kenya.
Returns the phone number code of the country with a prefix. e.g +254.
Returns the phone number code of the country without a prefix. e.g 254.
Returns the full phone number with the prefix. e.g +254712345678.
Returns the full phone number without the prefix. e.g 254712345678.
Returns fully formatted phone number.
Returns the phone number without the prefix. e.g 712345678.
Returns true if the phone number is valid.
Sets the phone number.