Audio Configuration
Control audio playback settings. Applies to: all views with spoken audio feedback.
| Parameter | Type | Default | Applies to | What it does internally |
| enableM4a | boolean | false | All | Forces speech audio to be fetched in M4A format instead of the default WebM. Use for WebViews/browsers where WebM playback is unreliable (notably some iOS WKWebView contexts) |
| includePhrases | string[] | all categories | All | Allow-list of spoken coaching-cue categories. Core static cues (essential instructions) are ALWAYS included and cannot be disabled. Omit the parameter for all categories; pass an explicit list to enable exactly those — e.g. ["greeting", "farewell"] re-enables the greeting/farewell voice cues for hosts that had them silenced. An empty array [] means static cues only |
Valid `includePhrases` categories: "motivational", "praisal", "greeting", "farewell", "closing_exercise", "auto_skip". Unknown values are silently dropped.
Voice selection (voiceActor) and language are documented under Language & Localization.
Audio Configuration
Swift example:
1// Via customParams
2kinestex.createView(
3 customParams: [
4 "enableM4a": true
5 ]
6)