Cortex Android
 All Classes Namespaces Functions Variables
nl.sense_os.cortex.coaching.Psychologist Class Reference
Inheritance diagram for nl.sense_os.cortex.coaching.Psychologist:

Public Member Functions

void startNewSample ()
 
boolean isSampleComplete ()
 
void onNewData (SensorDataPoint dataPoint)
 

Static Public Attributes

static String MESSAGE_INTENT_NAME = "nl.sense_os.cortex.coaching.MESSAGE"
 

Protected Member Functions

boolean firstTimeInit ()
 

Static Protected Member Functions

static synchronized Psychologist getInstance (SensePlatform sensePlatform)
 

Protected Attributes

final String TAG = name
 

Static Protected Attributes

static final String name = "Psychologist"
 

Member Function Documentation

boolean nl.sense_os.cortex.coaching.Psychologist.firstTimeInit ( )
protected

First time initialization

When this is the first run on this phone for this user, the advice and style messages will be downloaded.

Returns
True if the initialization was successful. False if it failed.
static synchronized Psychologist nl.sense_os.cortex.coaching.Psychologist.getInstance ( SensePlatform  sensePlatform)
staticprotected

The Psychologist instance

Returns the singleton instance of a psychologist.
The Psychologist receive data of all the Coaches.

Parameters
sensePlatformThe SensePlatform object has a bind to the SenseService
Returns
The Psychologist instance

The documentation for this class was generated from the following file: