phone_number_get_default_region
Description:
[ Version ( replacement = "PhoneNumber.get_default_region" , since = "3.8" ) ]
public string phone_number_get_default_region () throws Error
Retrieves the current two-letter country code that's used by default for parsing phone numbers in phone_number_from_string.
It can be useful to store this number before parsing a bigger number of phone numbers.
The result of this functions depends on the current setup of the LC_ADDRESS
category: If that category provides a reasonable value
for _NL_ADDRESS_COUNTRY_AB2
this value is returned. Otherwise the locale name configured for LC_ADDRESS
is parsed.
Returns:
a newly allocated string containing the current locale's two-letter code for phone number parsing. |
Namespace: E
Package: libebook-contacts-1.2