-
@Stable() public final class SurveyAppearance
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSurveyAppearance.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringpresentationprivate final SurveyThemethemeprivate final BooleandismissAllowedprivate final BooleanshowProgressprivate final IntegercornerRadiusprivate final TextStyleConfigquestionTextStyleprivate final ElementStyleConfigoptionStyleprivate final StringintroLottieUrlprivate final StringthankyouLottieUrlprivate final ParticleEffectthankyouParticleEffectprivate final BlurConfigblurBackdropprivate final HapticConfighapticprivate final StringthankYouTextprivate final SurveyThemethemeDark
-
Constructor Summary
Constructors Constructor Description SurveyAppearance(String presentation, SurveyTheme theme, Boolean dismissAllowed, Boolean showProgress, Integer cornerRadius, TextStyleConfig questionTextStyle, ElementStyleConfig optionStyle, String introLottieUrl, String thankyouLottieUrl, ParticleEffect thankyouParticleEffect, BlurConfig blurBackdrop, HapticConfig haptic, String thankYouText, SurveyTheme themeDark)
-
Method Summary
Modifier and Type Method Description final StringgetPresentation()final SurveyThemegetTheme()final BooleangetDismissAllowed()final BooleangetShowProgress()final IntegergetCornerRadius()final TextStyleConfiggetQuestionTextStyle()final ElementStyleConfiggetOptionStyle()final StringgetIntroLottieUrl()final StringgetThankyouLottieUrl()final ParticleEffectgetThankyouParticleEffect()final BlurConfiggetBlurBackdrop()final HapticConfiggetHaptic()final StringgetThankYouText()final SurveyThemegetThemeDark()SPEC-205 / SPEC-070-A D. final SurveyThemeresolveTheme(Boolean isDark)SPEC-205 / SPEC-070-A D.3: render-time theme resolver. -
-
Constructor Detail
-
SurveyAppearance
SurveyAppearance(String presentation, SurveyTheme theme, Boolean dismissAllowed, Boolean showProgress, Integer cornerRadius, TextStyleConfig questionTextStyle, ElementStyleConfig optionStyle, String introLottieUrl, String thankyouLottieUrl, ParticleEffect thankyouParticleEffect, BlurConfig blurBackdrop, HapticConfig haptic, String thankYouText, SurveyTheme themeDark)
-
-
Method Detail
-
getPresentation
final String getPresentation()
-
getTheme
final SurveyTheme getTheme()
-
getDismissAllowed
final Boolean getDismissAllowed()
-
getShowProgress
final Boolean getShowProgress()
-
getCornerRadius
final Integer getCornerRadius()
-
getQuestionTextStyle
final TextStyleConfig getQuestionTextStyle()
-
getOptionStyle
final ElementStyleConfig getOptionStyle()
-
getIntroLottieUrl
final String getIntroLottieUrl()
-
getThankyouLottieUrl
final String getThankyouLottieUrl()
-
getThankyouParticleEffect
final ParticleEffect getThankyouParticleEffect()
-
getBlurBackdrop
final BlurConfig getBlurBackdrop()
-
getHaptic
final HapticConfig getHaptic()
-
getThankYouText
final String getThankYouText()
-
getThemeDark
final SurveyTheme getThemeDark()
SPEC-205 / SPEC-070-A D.3: optional sparse dark-mode overrides for theme. Mirrors iOS
theme: ThemeSet<SurveyTheme>?— server may serialize either a flat theme object (legacy → goes into theme only) OR{ light: {...}, dark: {...} }(Wave 2 → flat fields go into theme (the light baseline) anddarkoverrides land here).
-
resolveTheme
final SurveyTheme resolveTheme(Boolean isDark)
-
-
-
-