SettingsState

data class SettingsState(val loading: Boolean = true, val onBoardingDemo: Boolean = false, val screenModal: SettingsModal = SettingsModal.None, val serverSource: ServerSource = ServerSource.AUTOMATIC1111, val sdModels: List<String> = emptyList(), val sdModelSelected: String = "", val stabilityAiCredits: Float = 0.0f, val localUseNNAPI: Boolean = false, val backgroundGenerationAvailable: Boolean = false, val backgroundGeneration: Boolean = false, val monitorConnectivity: Boolean = false, val autoSaveAiResults: Boolean = false, val saveToMediaStore: Boolean = false, val formAdvancedOptionsAlwaysShow: Boolean = false, val formPromptTaggedInput: Boolean = false, val useSystemColorPalette: Boolean = false, val useSystemDarkTheme: Boolean = false, val darkTheme: Boolean = false, val colorToken: ColorToken = ColorToken.MAUVE, val darkThemeToken: DarkThemeToken = DarkThemeToken.FRAPPE, val galleryGrid: Grid = Grid.Fixed2, val developerMode: Boolean = false, val appVersion: String = "") : MviState(source)

Carries SettingsState data through the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(loading: Boolean = true, onBoardingDemo: Boolean = false, screenModal: SettingsModal = SettingsModal.None, serverSource: ServerSource = ServerSource.AUTOMATIC1111, sdModels: List<String> = emptyList(), sdModelSelected: String = "", stabilityAiCredits: Float = 0.0f, localUseNNAPI: Boolean = false, backgroundGenerationAvailable: Boolean = false, backgroundGeneration: Boolean = false, monitorConnectivity: Boolean = false, autoSaveAiResults: Boolean = false, saveToMediaStore: Boolean = false, formAdvancedOptionsAlwaysShow: Boolean = false, formPromptTaggedInput: Boolean = false, useSystemColorPalette: Boolean = false, useSystemDarkTheme: Boolean = false, darkTheme: Boolean = false, colorToken: ColorToken = ColorToken.MAUVE, darkThemeToken: DarkThemeToken = DarkThemeToken.FRAPPE, galleryGrid: Grid = Grid.Fixed2, developerMode: Boolean = false, appVersion: String = "")

Properties

Link copied to clipboard

Exposes the appVersion value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the autoSaveAiResults value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the backgroundGeneration value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the backgroundGenerationAvailable value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the colorToken value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the darkTheme value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the darkThemeToken value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the developerMode value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the formAdvancedOptionsAlwaysShow value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the formPromptTaggedInput value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the galleryGrid value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the loading value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the localUseNNAPI value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the monitorConnectivity value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the onBoardingDemo value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the saveToMediaStore value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the screenModal value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the sdModels value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the sdModelSelected value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the serverSource value used by the SDAI presentation layer.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Exposes the stabilityAiCredits value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the useSystemColorPalette value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the useSystemDarkTheme value used by the SDAI presentation layer.