public class

IBeaconSensor

extends Sensor
java.lang.Object
   ↳ com.vidinoti.android.vdarsdk.Sensor
     ↳ com.vidinoti.android.vdarsdk.IBeaconSensor

Class Overview

Represent an iBeacon sensor with the ID being a concatenation of UUID_major_minor.

Summary

[Expand]
Inherited Fields
From class com.vidinoti.android.vdarsdk.Sensor
Public Methods
float getDistance()
Return the estimated distance at which the beacon is from the device in meters.
float getRssi()
Get the RSSI in dbm of this beacon at that point of time
String getType()
Return the type of sensor
void setDistance(float distance)
void setRssi(float rssi)
String toString()
[Expand]
Inherited Methods
From class com.vidinoti.android.vdarsdk.Sensor
From class java.lang.Object

Public Methods

public float getDistance ()

Return the estimated distance at which the beacon is from the device in meters.

Returns
  • the estimated distance at which the beacon is from the device in meters.

public float getRssi ()

Get the RSSI in dbm of this beacon at that point of time

Returns
  • the RSSI in dbm of this beacon at that point of time

public String getType ()

Return the type of sensor

Returns
  • the type of sensor

public void setDistance (float distance)

public void setRssi (float rssi)

public String toString ()

Since: API Level