com.openxc.sinks.ContextualVehicleDataSink Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openxc-it Show documentation
Show all versions of openxc-it Show documentation
Instrumentation test suite for OpenXC library
The newest version!
package com.openxc.sinks;
import android.content.Context;
/**
* A parent class for data sinks that require access to an Android context.
*/
public class ContextualVehicleDataSink extends BaseVehicleDataSink {
private Context mContext;
public ContextualVehicleDataSink(Context context) {
mContext = context;
}
protected Context getContext() {
return mContext;
}
}