Class ScanDetection

java.lang.Object
com.gluonhq.attach.ble.ScanDetection

public class ScanDetection extends Object
ScanDetection is a wrapper class to hold the main data obtained when scanning a beacon: uuid, major and minor ids, rssi and proximity estimation
  • Constructor Details

    • ScanDetection

      public ScanDetection()
  • Method Details

    • getUuid

      public String getUuid()
    • setUuid

      public void setUuid(String uuid)
    • getMajor

      public int getMajor()
    • setMajor

      public void setMajor(int major)
    • getMinor

      public int getMinor()
    • setMinor

      public void setMinor(int minor)
    • getRssi

      public int getRssi()
    • setRssi

      public void setRssi(int rssi)
    • getProximity

      public Proximity getProximity()
    • setProximity

      public void setProximity(int proximity)
    • toString

      public String toString()
      Overrides:
      toString in class Object