public class TomTomReader extends Object
Modifier and Type | Method and Description |
---|---|
static TomTomReader |
getInstance()
Get the one and only instance of this class
|
Activity |
readTtbinFile(String fileName)
Reads the ttbin file and stores it in the Activity
|
Activity |
readTtbinFile(UsbFile file)
Reads the ttbin file as stored in the UsbFile passed
|
void |
setTrackCompression(boolean enabled,
double maxError) |
void |
setTrackSmoothing(boolean enabled,
float qFactor) |
public static TomTomReader getInstance()
public void setTrackSmoothing(boolean enabled, float qFactor)
public void setTrackCompression(boolean enabled, double maxError)
public Activity readTtbinFile(String fileName)
fileName
- Name of the ttbin fileCopyright © 2020. All rights reserved.