Interface W1Device

  • All Known Implementing Classes:
    W1BaseDevice

    public interface W1Device
    Author:
    Peter Schuebl
    • Method Detail

      • getId

        String getId()
        Returns the name (id/serial number) of the device e.g. 28-00000698ebb1.
        Returns:
        the unique device name.
      • getName

        String getName()
        Returns a human readable name.
        Returns:
        the human readable name, defaults to ID
      • getFamilyId

        int getFamilyId()
        Returns the type/family of the device.
        Returns:
        device type, never null.
      • equals

        boolean equals​(Object obj)
        W1Device should be considered equal based on their ID
        Overrides:
        equals in class Object