Skip to content

Configuration Options

WorkoutKit Android accepts a JSON configuration object when creating fragments.

WorkoutKit Android is a compiled SDK. While B2B clients can tune documented text and behavior options, full source-level UI modification is not supported in the standard integration. Broader visual customization is handled through dedicated commercial customization work with FizzUp.

Text keys

KeyUsage
startWorkoutCTAStart screen button text
endedWorkoutTitleEnd screen title
saveWorkoutCTAEnd screen button text

Voice prompt keys

KeyUsage
speechOverviewPromptTitleVoice coach overview title
speechOverviewPromptHintVoice coach overview subtitle
speechOverviewTurnOnCTAEnable voice coach action text
speechOverviewTurnOffCTADisable voice coach action text
speechConfirmationPromptTitleVoice coach confirmation title
speechConfirmationPromptHintVoice coach confirmation subtitle
speechConfirmationKeepCTAKeep voice coach action text
speechConfirmationTurnOffCTADisable voice coach action text

Behavior flags

KeyTypeUsage
isHumanAudioCoachAvailableboolEnables voice coach prompts

Example

kotlin
val workoutConfig = JSONObject().apply {
    put("isHumanAudioCoachAvailable", true)
    put(
        "texts",
        JSONObject(
            mapOf(
                "startWorkoutCTA" to "Let's go!",
                "endedWorkoutTitle" to "Great job!",
                "saveWorkoutCTA" to "Close"
            )
        )
    )
}