get_protocol


Description:

[ Version ( deprecated = true , deprecated_since = "0.19.1" , since = "0.7.26" ) ]
public unowned ConnectionManagerProtocol get_protocol (string protocol)

Warning: get_protocol is deprecated since 0.19.1.

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

Note:

Since 0.11.11, you can get a Object version with more functionality by calling get_protocol_object.

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 is not necessarily valid after the main loop is re-entered. Since 0.11.3, it can be copied with copy if a permanently-valid copy is needed.

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:

a structure representing the protocol