mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 00:34:39 +08:00
Deprecate the ListAdapters() method on Manager
This commit is contained in:
parent
ff38bd9092
commit
6744ec5967
@ -37,9 +37,11 @@ Methods dict GetProperties()
|
||||
Possible errors: org.bluez.Error.InvalidArguments
|
||||
org.bluez.Error.NoSuchAdapter
|
||||
|
||||
array{object} ListAdapters()
|
||||
array{object} ListAdapters() {deprecated}
|
||||
|
||||
Returns list of adapter object paths under /org/bluez
|
||||
Returns list of adapter object paths under /org/bluez.
|
||||
This method is deprecated, instead use the Adapters
|
||||
Property to get the list of adapter object paths.
|
||||
|
||||
Possible errors: org.bluez.Error.InvalidArguments
|
||||
org.bluez.Error.Failed
|
||||
|
@ -229,7 +229,8 @@ static GDBusMethodTable manager_methods[] = {
|
||||
{ "GetProperties", "", "a{sv}",get_properties },
|
||||
{ "DefaultAdapter", "", "o", default_adapter },
|
||||
{ "FindAdapter", "s", "o", find_adapter },
|
||||
{ "ListAdapters", "", "ao", list_adapters },
|
||||
{ "ListAdapters", "", "ao", list_adapters,
|
||||
G_DBUS_METHOD_FLAG_DEPRECATED},
|
||||
{ }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user