NeuroImplementation

class NeuroImplementation(neuroDataFlow: NeuroDataFlow) : Neuro

Constructors

Link copied to clipboard

Functions

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

Returns Flowable that emits last neuroactivity NeuroData

Link copied to clipboard
open override 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
open override fun observeNeuroData(daysBack: Int): Flowable<List<NeuroData>>

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

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

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