StudyProtocolManager
Gets and saves SmartphoneStudyProtocols, e.g. from local files or a server.
Apps implement it to load the protocol they run. See FileStudyProtocolManager for an example.
- Implementers
Constructors
StudyProtocolManager
Methods
getStudyProtocol
- String id
Gets a SmartphoneStudyProtocol based on its id. Returns null if no protocol exists.
initialize
Initializes this manager. Call it before any other method.
saveStudyProtocol
- String id,
- SmartphoneStudyProtocol protocol
Saves protocol with the ID id. Returns true if successful, false otherwise.