public abstract class ContextualVehicleDataSink extends java.lang.Object implements VehicleDataSink
| Constructor and Description |
|---|
ContextualVehicleDataSink(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
protected android.content.Context |
getContext() |
abstract void |
receive(VehicleMessage message)
Receive a data point with a name, a value and a event value.
|
abstract void |
stop()
Release any acquired resources and either stop sending measurements (if a
source) or stop expecting to receive them (if a sink).
|
public ContextualVehicleDataSink(android.content.Context context)
protected android.content.Context getContext()
public abstract void stop()
VehicleDataSinkstop in interface VehicleDataSinkpublic abstract void receive(VehicleMessage message)
VehicleDataSinkreceive in interface VehicleDataSinkmessage - The new measurement.