get_handle


Description:

public Handle get_handle ()

Return the contact's handle, which is of type CONTACT, or 0 if the connection has become invalid.

This handle is referenced using the Telepathy D-Bus API and remains referenced for as long as this exists and the connection remains valid.

However, the caller of this function does not gain an additional reference to the handle.

Parameters:

this

a contact

Returns:

the same handle as the handle property




2022 vala-language.org