submitAudiogram
abstract suspend fun submitAudiogram(leftEar: MimiTestAudiogram, rightEar: MimiTestAudiogram, metadata: TestAudiogramMetadata): MimiSubmitAudiogramResponse
Submit a new Hearing Test Audiogram to the Mimi backend.
Also updates latestTestResults and returns the MimiSubmitAudiogramResponse to the caller.
The submitted audiogram must include data points for 250Hz, 500Hz, 1000Hz, 2000Hz, 4000Hz, 8000Hz.
Additional frequencies outside that range may be included, however they will not be available in the updated MimiTestResults.
Return
the MimiSubmitAudiogramResponse containing the id of the audiogram submission
Since
10.1.0
Parameters
leftEar
the audiogram data for the left ear.
rightEar
the audiogram data for the right ear.
metadata
the metadata for the audiogram.
Throws
when an error is encountered.