UI Components¶
The MSDK provides top-level UI components that are an entry point for users to start enjoying personalized audio with Mimi, and to take a full Hearing Test.
These components are designed to be easily integrated into your app and can be customized to fit your brand.
MimiProfileFragment¶
The MimiProfileFragment is a Fragment that allows users to personalize their sound, whether they prefer to do so in an easy and quick way, or in a more accurate way by taking a full Hearing Test.
In addition, login and signup options are also provided via cards inside the Profile, allowing users to load their previously created Mimi data or save and persist their current data with a Mimi account.
The MimiProfileFragment provides:
- Onboarding - guiding the user through creating their individual Hearing ID.
- Personalization controls - update and adjust personalized audio processing quickly with the year of birth or more accurately by taking our Hearing Test.
- Optional Mimi Account integration - allowing a Hearing ID to be stored in a permanent user account.
Usage¶
The Profile is self contained and therefore requires minimal configuration to be used.
Including the MimiProfileFragment in a layout within an Activity.
<androidx.fragment.app.FragmentContainerView
android:id="@+id/fragment"
android:name="io.mimi.sdk.profile.MimiProfileFragment"
android:layout_width="match_parent"
android:layout_height="match_parent" />
Note
The MimiProfileFragment host Activity should be defined with a Theme.Mimi derived android:theme.
TestFlowActivity¶
The TestFlowActivity component allows the user take a full Mimi Hearing Test.
Next Steps¶
Check out how to customize your new Mimi Profile to fit your brand with Theming.