phone_number_get_country_code_for_region
Description:
[ Version ( replacement = "PhoneNumber.get_country_code_for_region" , since = "3.8" ) ]
public int phone_number_get_country_code_for_region (string? region_code) throws Error
Retrieves the preferred country calling code for region_code, e.g. 358 for "fi" or 1 for "en_USUTF-8".
If null is passed for region_code the default region as returned by
phone_number_get_default_region is used.
Parameters:
| region_code |
a two-letter country code, a locale name, or |
Returns:
|
a valid country calling code, or zero if an unknown region code was passed. |
Namespace: E
Package: libebook-contacts-1.2