public class Recorder extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Recorder.RecordWriterCommand
Commands used to control the Record (Track) Writer
|
protected static class |
Recorder.SessionWriterCommand
Commands used to control the Session Writer
|
| Constructor and Description |
|---|
Recorder()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancelRecording(LocationData ld)
Cancel Recording of a Record (Track).
|
void |
locationChanged(LocationData ld)
Set a new Location as a track location.
|
boolean |
recordPoint(LocationData ld)
Record the location as a point in the session file.
|
boolean |
recordReferenceLocation(LocationData ld)
Record the location as the reference location in the session file.
|
void |
startStopRecording(LocationData ld)
Start or Stop Recording a Record (Track).
|
public void locationChanged(LocationData ld) throws IOException
ld - the locationIOException - if problemspublic void startStopRecording(LocationData ld) throws IOException
ld - the locationIOException - if problemspublic void cancelRecording(LocationData ld) throws IOException
ld - the locationIOException - if problemspublic boolean recordPoint(LocationData ld) throws IOException
ld - the locationIOException - if problemspublic boolean recordReferenceLocation(LocationData ld) throws IOException
ld - the reference locationIOException - if problemsCopyright © 2017. All rights reserved.