ProcessingSession

class ProcessingSession

ProcessingSession

Holds the ProcessingParameter instances, providing access to control Mimi Personalization Processing.

Successful updates to ProcessingParameters are persisted and reapplied on initialization.

Processing can be temporarily interrupted via the ProcessingSession.interrupt.

The MSDK automatically applies a range of updates to the ProcessingSession to reflect the internal state changes and keep the currently applied Personalization synchronized with the user and their hearing test results.

Since

5.0.0

Functions

Link copied to clipboard
suspend fun interrupt(reason: ProcessingSessionInterruption): InterruptionRequestResult

Disables the isEnabled due to the provided interruption reason.

Link copied to clipboard
fun isInterrupted(): Boolean

Returns whether this ProcessingSession currently has its Processing interrupted.

Link copied to clipboard
suspend fun resolve(reason: ProcessingSessionInterruption): InterruptionRequestResult

Re-enables the isEnabled as the provided interruption reason was successfully resolved.

Properties

Link copied to clipboard
val intensity: MimiProcessingParameter<Double>
Link copied to clipboard
val isEnabled: MimiProcessingParameter<Boolean>
Link copied to clipboard
Link copied to clipboard
val presetDataSource: Class<out MimiPresetParameterDataSource>

The class of MimiPresetParameterDataSource used to fetch the PersonalizationPreset value to apply to the preset.