Class ScanStatus

java.lang.Object
com.signalquest.api.ScanStatus

public class ScanStatus extends Object
Contains the BLE scanning information.
  • Constructor Details

    • ScanStatus

      public ScanStatus(byte[] manufacturerData)
      Instantiates a new ScanStatus.
      Parameters:
      manufacturerData - The sensor's manufacturer data from the BLE advertisement
  • Method Details

    • isConnected

      public boolean isConnected()
      Whether a sensor is already connected to another device
    • getBattery

      public int getBattery()
      Battery percentage remaining, 0-100
    • isCharging

      public boolean isCharging()
      Whether a sensor is actively charging
    • getSatellites

      public int getSatellites()
      The number of satellites used to calculate the location solution