Skip to content

Class SignalMeasurement

Il Kadyrov edited this page Nov 9, 2020 · 3 revisions

SignalMeasurement class is used for notifying users about new scanned signals through [[MeasurementListener|Class-MeasurementListener].

Referenced from: MeasurementManager, MeasurementListener.

Public methods

Function getType

public SignalType getType()

Function returns the type of signal.

Return value

Type of the signal, which equals to one of the next enum elements:

  • WIFI
  • BEACON
  • BLUETOOTH
  • EDDYSTONE
  • WIFI_RTT

Function getId

public String getId()

Function returns the id of the signal, like mac address for wifi, (uuid, major, minor) for beacon, etc.

Function getRssi

public float getRssi()

Function returns the rssi value of the signal.

Function getDistance

public float getDistance()

Function returns the distance to the signal.

Clone this wiki locally