GDPhoneNumber


Description:

[ CCode ( has_construct_function = false ) ]
public GDPhoneNumber (string number, string? relation_type, string? label, string? uri, bool is_primary)

Creates a new GDPhoneNumber.

More information is available in the GData specification.

Parameters:

number

the phone number, in human-readable format

relation_type

the relationship between the phone number and its owner, or null

label

a human-readable label for the phone number, or null

uri

a "tel URI" to represent the number formally (see RFC 3966), or null

is_primary

true if this phone number is its owner's primary number, false otherwise

Returns:

a new GDPhoneNumber, or null; unref with unref