Class DeviceScanInfo


  • public class DeviceScanInfo
    extends java.lang.Object
    Class holding the information of a scanned device.
    • Constructor Summary

      Constructors 
      Constructor Description
      DeviceScanInfo​(java.lang.String deviceAddress, java.lang.String settings, java.lang.String description)  
      DeviceScanInfo​(java.lang.String id, java.lang.String deviceAddress, java.lang.String settings, java.lang.String description)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Gets the description.
      java.lang.String getDeviceAddress()
      Gets the device address
      java.lang.String getId()
      Gets the ID.
      java.lang.String getSettings()
      Gets the settings
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DeviceScanInfo

        public DeviceScanInfo​(java.lang.String deviceAddress,
                              java.lang.String settings,
                              java.lang.String description)
      • DeviceScanInfo

        public DeviceScanInfo​(java.lang.String id,
                              java.lang.String deviceAddress,
                              java.lang.String settings,
                              java.lang.String description)
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the ID. The ID is generated out of interface + device address. Special chars are omitted.
        Returns:
        the id
      • getDescription

        public java.lang.String getDescription()
        Gets the description.
        Returns:
        the description
      • getDeviceAddress

        public java.lang.String getDeviceAddress()
        Gets the device address
        Returns:
        the device address
      • getSettings

        public java.lang.String getSettings()
        Gets the settings
        Returns:
        the settings
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object