public abstract class

Sensor

extends Object
java.lang.Object
   ↳ com.vidinoti.android.vdarsdk.Sensor
Known Direct Subclasses

Class Overview

Define a sensor that has a trigger state

Summary

Fields
protected String sensorId ID of the sensor.
protected boolean triggered True if triggered, false otherwise
Public Methods
String getSensorId()
ID of the sensor.
abstract String getType()
Return the type of sensor
boolean isTriggered()
True if triggered, false otherwise
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String sensorId

ID of the sensor. The type of ID depends on the type of sensor

protected boolean triggered

True if triggered, false otherwise

Public Methods

public String getSensorId ()

ID of the sensor. The type of ID depends on the type of sensor.

Returns
  • ID of the sensor. The type of ID depends on the type of sensor.

public abstract String getType ()

Return the type of sensor

Returns
  • the type of sensor

public boolean isTriggered ()

True if triggered, false otherwise

Returns
  • True if triggered, false otherwise