public interface Logging extends MetaWearBoard.Module
Modifier and Type | Interface and Description |
---|---|
static class |
Logging.DownloadHandler
Processes notifications from the data logger
|
Modifier and Type | Method and Description |
---|---|
void |
clearEntries()
Clear all stored logged data from the board.
|
void |
clearEntries(long nEntries)
Clear a set number of log entries stored on the board.
|
AsyncOperation<java.lang.Integer> |
downloadLog(float notifyProgress,
Logging.DownloadHandler handler)
Start downloading the recorded sensor data
|
long |
getLogCapacity()
Retrieves the number of log entries that can be written to the board.
|
void |
startLogging()
Start logging sensor data.
|
void |
startLogging(boolean overwrite)
Start logging sensor data
|
void |
stopLogging()
Stop logging sensor data
|
void startLogging()
void startLogging(boolean overwrite)
overwrite
- True if older entries should be overwritten when the logger is fullvoid stopLogging()
AsyncOperation<java.lang.Integer> downloadLog(float notifyProgress, Logging.DownloadHandler handler)
notifyProgress
- How often to send progress updates, expressed as a fraction between [0, 1]
where 0= no updates, 0.1= 10 updates, 0.25= 4 updates, etc.handler
- Handler to use for logger notificationsvoid clearEntries()
Debug.resetAfterGarbageCollect()
method.void clearEntries(long nEntries)
Debug.resetAfterGarbageCollect()
method.long getLogCapacity()