我刚刚尝试运行一个Vala Bluez示例(在DbusClientSamples页面中找到),但是我遇到了以下错误:
GDBus.Error:org.freedesktop.DBus.Error.UnknownObject:
Method "DiscoverDevices" with signature "" on interface "org.bluez.Adapter"
doesn't exist
这个样例是否使用了已弃用的API?如果是,那么我在哪里可以找到有关bluez的DBUS API的更新文档?我通过谷歌搜索发现的所有文档都包含DiscoverDevices
方法,所以我感到很困惑。