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 <ulink type="http" url="http://code.google.com/apis/gdata/docs/2.0/elements.html#gdPhoneNumber" >GData specification</ulink>.

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 <ulink type="http" url="http://www.ietf.org/rfc/rfc3966.txt">RFC 3966< /ulink>), 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