has_interface_by_id


Description:

public bool has_interface_by_id (Quark iface)

Return whether this proxy is known to have a particular interface, by its quark ID.

This is equivalent to using to_string followed by has_interface, but more efficient.

Parameters:

this

the Proxy (or subclass)

iface

quark representing the D-Bus interface required

Returns:

true if this proxy implements the given interface.




2022 vala-language.org