Appearance
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
| Key | Usage |
|---|---|
startWorkoutCTA | Start screen button text |
endedWorkoutTitle | End screen title |
saveWorkoutCTA | End screen button text |
Voice prompt keys
| Key | Usage |
|---|---|
speechOverviewPromptTitle | Voice coach overview title |
speechOverviewPromptHint | Voice coach overview subtitle |
speechOverviewTurnOnCTA | Enable voice coach action text |
speechOverviewTurnOffCTA | Disable voice coach action text |
speechConfirmationPromptTitle | Voice coach confirmation title |
speechConfirmationPromptHint | Voice coach confirmation subtitle |
speechConfirmationKeepCTA | Keep voice coach action text |
speechConfirmationTurnOffCTA | Disable voice coach action text |
Behavior flags
| Key | Type | Usage |
|---|---|---|
isHumanAudioCoachAvailable | bool | Enables 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"
)
)
)
}