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.
, use get_protocol_object
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.
this |
a connection manager |
protocol |
the name of a protocol as defined in the Telepathy D-Bus API, e.g. "jabber" or "msn" |
a structure representing the protocol |