Smart Spectra Sdk
Entry point for interacting with the SmartSpectra Android SDK.
Obtain an instance by calling initialize once and then getInstance. All configuration for measurements and callbacks is performed through this class. Only a single instance should exist within an application.
Functions
Clears metrics and error state from the previous session.
Sets which device camera to use when capturing.
Updates the current edge metrics that observers listen to.
Registers an observer that is invoked whenever new edge metrics are produced.
Enables or disables collection of edge metrics on device.
Sets the measurement duration in seconds for spot mode.
Updates the current metrics buffer that observers listen to.
Registers an observer that is invoked whenever new metrics are produced.
Sets the countdown delay in seconds before recording starts.
Enables or disables display of frames-per-second information.
Defines whether measurements run in SmartSpectraMode.SPOT or SmartSpectraMode.CONTINUOUS.
Controls whether camera and mode selection UI is shown in the screening view.