TestsController
Defining access to a user's tests results.
Important: This interface is not stable for inheritance, as new methods may be added, but is stable for use.
Since
5.0.0
Properties
The MimiConnectedHeadphoneProvider function which notifies the MSDK which headphones model is currently connected.
The current connected headphone.
A MimiObservable exposing the latest MimiTestResults for the current user.
Functions
Deletes the hearing test result from the backend, updates the latestTestResults
Loads the available calibrated headphones list
Reloads the latest MimiTestResults (MT and PTT hearing testings) for the current user from the backend, updates the latestTestResults state and returns the MimiTestResults to the caller.
Returns paged TestResults for a given testing paradigm. No side-effects.
Returns the supported and selected MimiTestTypes for the headphone model defined by connectedMimiHeadphone.
Notifies the MSDK that the specified headphone has been connected.
Notifies the MSDK that the connected headphone has been disconnected.
Submit a new Hearing Test Audiogram to the Mimi backend.
Submits the HearingTest to the backend, updates the latestTestResults and does not return anything.
Submits the HearingTest to the backend, updates the latestTestResults and returns the MimiSubmitHearingTestResponse to caller