[ CCode ( has_construct_function = false ) ]
public GContactRelation (string name, string? relation_type, string? label)
Creates a new GContactRelation.
More information is available in the gContact specification.
Exactly one of relation_type
and label
should be provided; the other must be null
.
name |
the name of the relation |
relation_type |
the type of relation, or |
label |
a free-form label for the type of relation, or |
a new GContactRelation; unref with unref |