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()
VehicleDataSink
stop
in interface VehicleDataSink
public abstract void receive(VehicleMessage message)
VehicleDataSink
receive
in interface VehicleDataSink
message
- The new measurement.