Getting Logs from the Metawear C v3.0
After updating the API to v3.0, it's become unclear how to get download the data from the device to the phone. Clearly I need to use the logging.downloadAsync() function, but I'm confused on how to use the Bolts Framework to get the result. I tried using .continueWith(), .continueWithTask() and .onSuccess() and .onSuccessTask(). The first two were called after the logs were downloaded but the task (of type Task<Void>) has no result. I tried using the .cast() method, but was unable to get a result.
Any help would be appreciated. Thanks!
This discussion has been closed.
Comments