MimiCoreServices

Definition of the MimiCore main public API; providing access to key functionality such as authentication, personalization and test management. It handles all aspects of communication with the Mimi API, providing a robust framework that can be used to integrate an app into the Mimi eco-system.

Important: This interface is not stable for inheritance, as new methods may be added, but is stable for use.

Since

5.0.0

Inheritors

Properties

Link copied to clipboard

Whether collection of MSDK usage data is enabled for Mimi.

Link copied to clipboard

Mimi configuration

Link copied to clipboard

Group Controller class offering all the methods related with Group Personalization

Link copied to clipboard

Personalization Controller class in charge of loading Mimi presets from the backend

Link copied to clipboard

Processing Controller class acting as a middle man between all the different controllers and the processing handler, which is ultimately the final responsible for the processing

Link copied to clipboard

User Controller class in charge of handling changes and operations related to the Mimi User object and its current authentication session

Link copied to clipboard

Tests Controller class offering all the methods related with Hearing Test handling

Functions

Link copied to clipboard
@MsdkInternalApi
abstract fun analytics(secret: String): AnalyticsService

Internal Analytics Service used by Mimi to collect MSDK usage data

Link copied to clipboard
abstract fun dispose()

Call dispose to ensure that all resources are properly disposed (e.g. canceling pending network requests).

Link copied to clipboard
abstract fun setMimiEventsListener(mimiEvents: MimiEvents)

Sets the MimiEvents interface implementation necessary to listen to Mimi SDK related events

Link copied to clipboard
abstract fun start(context: Context, clientId: String, clientSecret: String, configuration: MimiConfiguration = MimiConfiguration())

Set up MimiCore for use with your client.