Class ObjectManager.InterfacesAdded

  • Enclosing interface:
    ObjectManager

    public static class ObjectManager.InterfacesAdded
    extends DBusSignal
    Signal generated when a new interface is added
    • Field Detail

      • signalSource

        public final DBusPath signalSource
      • objectPath

        public final java.lang.String objectPath
      • interfaces

        public final java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​Variant<?>>> interfaces
    • Constructor Detail

      • InterfacesAdded

        public InterfacesAdded​(java.lang.String _objectPath,
                               DBusPath _source,
                               java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​Variant<?>>> _interfaces)
                        throws DBusException
        Throws:
        DBusException
    • Method Detail

      • getSignalSource

        public DBusPath getSignalSource()
        The source DBus object path (e.g. /org/bluez/hci0/dev_00_11_22_33_44_55).
        Returns:
        DBusPath
      • getObjectPath

        public java.lang.String getObjectPath()
      • getInterfaces

        public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​Variant<?>>> getInterfaces()
        Returns the added interfaces. Key is a DBus interface name (like org.bluez.Device1). Value is a Map with properties known for the new device.
        Returns:
        Map
      • toString

        public java.lang.String toString()
        Description copied from class: Message
        Formats the message in a human-readable format.
        Overrides:
        toString in class Message