public interface VehicleDataSource extends DataPipeline.Operator
Modifier and Type | Method and Description |
---|---|
boolean |
isConnected()
Return true if the data source is actively connected to its target, be it
a USB endpoint, a Bluetooth channel, a trace file, etc.
|
void |
setCallback(SourceCallback callback)
Set the callback for receiving raw measurements as they are received.
|
void |
stop()
Release any acquired resources and either stop sending measurements (if a
source) or stop expecting to receive them (if a sink).
|
onPipelineActivated, onPipelineDeactivated
void setCallback(SourceCallback callback)
boolean isConnected()
void stop()