Neuro

interface Neuro

RxJava2 interface for retrieving measurements about neuroactivity.

Functions

Link copied to clipboard
abstract fun observeLastNeuroData(): Flowable<NeuroData>

Returns Flowable that emits last neuroactivity NeuroData

Link copied to clipboard
abstract fun observeLastTimestamp(): Flowable<Timestamp>

Returns Flowable that emits UNIX-timestamp of last NeuroData. If there is no data then 0 will be emitted.

Link copied to clipboard
abstract fun observeNeuroData(daysBack: Int): Flowable<List<NeuroData>>

Returns Flowable that emits list of neuroactivity NeuroData for day daysBack ago.

Link copied to clipboard
abstract fun observeNeuroSummary(daysBack: Int): Flowable<Container<NeuroSummary>>

Returns Flowable that emits container with neuroactivity summary for day daysBack ago.