Documentation
Quick Start
MimiTestKit provides UI flows for configuring, taking and submitting a Hearing Test. It handles all aspects of the audio stack, and utilizes the Mimi Hearing Test Engine to provide state of the art test execution. MimiTestKit supports both iPhone and iPad.
Key Features
- Ability to take a Mimi Hearing Test with zero effort.
- All aspects of set-up and configuration handled automatically.
- Informative and extensive interruptions service to ensure reliable results.
Basics
Creating a test flow is simple, passing the test type you want to take:
import MimiTestKit
let flow = MimiTestFlow.build(preferredTest: .mt)
As the flow is a MimiUserFlow it can then be shown in a multitude of ways:
Presented Modally
flow.present(from: viewController, animated: true, completion: nil)
Pushed into Navigation Stack
flow.push(in: navigationController, animated: true)
-
User Flow which provides access to take a Mimi Hearing Test.
Supports MT Test.
Declaration
Swift
public class MimiTestFlow : MimiUserFlow -
Error that occurred in MimiTestFlow.
- notAuthenticated: MimiTestFlow requires a user to be authenticated in order to be presented or used.
- unsupportedTestType: The test type is not supported by MimiTestFlow.
Declaration
Swift
public enum MimiTestFlowError : Error
Documentation Reference