has_protocol


Description:

[ Version ( since = "0.7.26" ) ]
public bool has_protocol (string protocol)

Return whether protocol is supported by this connection manager.

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

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:

true if this connection manager supports protocol




2022 vala-language.org