mpris2.decorator.interface module¶
This is not part of specification
Helper class to make it work as python lib
-
class
mpris2.decorator.interface.
DbusInterface
(iface=None, path=None, uri=None, dbus_object=None, session=None)[source]¶ Bases:
mpris2.decorator.base.Decorator
-
dbusWrapedInterface
(info_property, *args, **kw)[source]¶ Called when some decoreted class was called Inject attrs from decorator at new object then return object
@param *args: list of args to call constructor @param **kw: dict of keywords, can redefine class default parameters @return: instance of decoreted class, with new attributes @see: mpris2.mediaplayer2 to see some examples
-