-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
The _Property, _Signal and _Method "disabled" fields are not context aware and therefore a property, signal or method may only be hidden for all instances of a ServiceInterface. This is problematic when implementing interfaces with optional properties (for example org.bluez.LEAdvertisement) where ideally not all instances would include the same optional attributes.
Describe the solution you'd like
disabled could be provided by a Callable[[ServiceInterface], bool] callback. Alternatively the ServiceInterface could maintain a record of which attributes are disabled.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request