Tests
-
Controller which provides access to Test management.
MimiTestControllercan be used to submit, view and manage Hearing Tests related to the currently authenticated user.Declaration
Swift
public protocol MimiTestController : MimiCoreController -
Observable for MimiTestController events.
Declaration
Swift
public protocol MimiTestControllerObservable : AnyObject -
Collection of test results for various paradigms.
Declaration
Swift
public struct MimiTestResults : Codableextension MimiTestResults: Equatable -
A result for an individual hearing test taken with Mimi technologies.
Declaration
Swift
public struct MimiTestResult<RunResultData> : AnyMimiTestResult, Identifiable where RunResultData : MimiTestRunResultDataextension MimiTestResult: Equatable -
Error type representing an error that occurred when calculating the results for a hearing test.
mt(MT)- MT Test Result error.ptt(PTT)- PTT Test Result error.reversalInterpolationError- Reversal interpolation error.unsupportedTest- Unsupported test error.unknown- Unknown result error with associated code.
Declaration
Swift
public enum MimiTestResultError : Error, Codableextension MimiTestResultError: RawRepresentable, Equatable, Hashableextension MimiTestResultError: CustomDebugStringConvertible -
A Hearing Test that has been taken.
Declaration
Swift
public struct MimiTest : Codable -
An individual run of a Hearing Test.
Declaration
Swift
public struct MimiTestRun : Codable -
Results data for an individual Mimi hearing test run.
Declaration
Swift
public protocol MimiTestRunResultData : Decodable, Encodable -
Results data associated with an MT test run.
Declaration
Swift
public struct MimiMTTestRunResultData : MimiTestRunResultData -
Results data associated with a PTT test run.
Declaration
Swift
public struct MimiPTTTestRunResultData : MimiTestRunResultData -
Metadata about a Hearing Test.
Declaration
Swift
public struct MimiTestMetadata : Codable -
Ear that was used for a Hearing Test.
- left: Left Ear
- right: Right Ear
- both: Both Ears
Declaration
Swift
public enum MimiTestEar : String, Codable -
Type of Mimi Hearing Test.
- maskThreshold: Mask Threshold (MT).
- pureToneThreshold: Pure Tone Threshold (PTT).
Declaration
Swift
public enum MimiTestType : String, CaseIterable, Codable -
Audiogram data that depicts the full result of a Pure Tone Threshold test.
Declaration
Swift
public struct MimiTestAudiogram : Codable, Equatable -
Grade of a user’s hearing ability.
- excellent: Excellent hearing ability.
- good: Good hearing ability.
- average: Average hearing ability.
- limited: Limited hearing ability, indicating slight hearing loss.
- impaired: Impaired hearing ability, indicating hearing loss.
- unknown: Unable to categorize the ability.
Declaration
Swift
public enum MimiHearingGrade : Int, Codable, CaseIterableextension MimiHearingGrade: CustomDebugStringConvertible -
Hearing Percentage ability of an individual ear that was detected during an individual test.
Declaration
Swift
public struct MimiHearingPercentage : Codable, RawRepresentable
Tests Reference