PhoneNumber
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "e_phone_number_get_type ()" ) ]
[ Compact ]
[ Version ( since = "3.8" ) ]
public class PhoneNumber
This opaque type describes a parsed phone number.
It can be copied using copy. To release it call
free.
Content:
Static methods:
Methods:
- public PhoneNumberMatch compare (PhoneNumber second_number)
Compares two phone numbers.
- public PhoneNumber copy ()
Makes a copy of this.
- public void free ()
Released the memory occupied by this
.
- public int get_country_code (PhoneNumberCountrySource? source)
Queries the this's country calling
code and optionally stores the country calling code's origin in source
.
- public string get_national_number ()
Queries the national portion of this
without any call-out prefixes.
- public string to_string (PhoneNumberFormat format)
Describes the this according to the
rules applying to format
.