get_protocol_object


Description:

[ Version ( since = "0.11.11" ) ]
public unowned Protocol get_protocol_object (string protocol)

Returns an object representing a protocol, or null if this connection manager does not support the specified protocol.

If this function is called before the connection manager information has been obtained, the result is always null. Use prepare_async to wait for this.

The result should be referenced with @ref if it will be kept.

Parameters:

this

a connection manager

protocol

the name of a protocol as defined in the Telepathy D-Bus API, e.g. "jabber" or "msn"

Returns:

an object representing the protocol, or null