Package io.heraldprox.herald.sensor
Class SensorArray
- java.lang.Object
-
- io.heraldprox.herald.sensor.SensorArray
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
deviceDescription
-
Constructor Summary
Constructors Constructor Description SensorArray(android.content.Context context, PayloadDataSupplier payloadDataSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(SensorDelegate delegate)
boolean
immediateSend(Data data, TargetIdentifier targetIdentifier)
boolean
immediateSendAll(Data data)
PayloadData
payloadData()
void
start()
void
stop()
-
-
-
Constructor Detail
-
SensorArray
public SensorArray(@NonNull android.content.Context context, @NonNull PayloadDataSupplier payloadDataSupplier)
-
-
Method Detail
-
immediateSend
public boolean immediateSend(@NonNull Data data, @NonNull TargetIdentifier targetIdentifier)
-
immediateSendAll
public boolean immediateSendAll(@NonNull Data data)
-
payloadData
@NonNull public final PayloadData payloadData()
-
add
public void add(@NonNull SensorDelegate delegate)
-
-