Settings

data class Settings(val serverUrl: String = "", val sdModel: String = "", val demoMode: Boolean = false, val developerMode: Boolean = false, val localDiffusionAllowCancel: Boolean = false, val localDiffusionSchedulerThread: SchedulersToken = SchedulersToken.COMPUTATION, val monitorConnectivity: Boolean = false, val backgroundGeneration: Boolean = false, val autoSaveAiResults: Boolean = false, val saveToMediaStore: Boolean = false, val formAdvancedOptionsAlwaysShow: Boolean = false, val formPromptTaggedInput: Boolean = false, val source: ServerSource = ServerSource.AUTOMATIC1111, val hordeApiKey: String = "", val localUseNNAPI: Boolean = false, val designUseSystemColorPalette: Boolean = false, val designUseSystemDarkTheme: Boolean = false, val designDarkTheme: Boolean = false, val designColorToken: String = "", val designDarkThemeToken: String = "", val galleryGrid: Grid = Grid.Fixed2, val languageCode: String = "")(source)

Carries Settings data through the SDAI domain layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(serverUrl: String = "", sdModel: String = "", demoMode: Boolean = false, developerMode: Boolean = false, localDiffusionAllowCancel: Boolean = false, localDiffusionSchedulerThread: SchedulersToken = SchedulersToken.COMPUTATION, monitorConnectivity: Boolean = false, backgroundGeneration: Boolean = false, autoSaveAiResults: Boolean = false, saveToMediaStore: Boolean = false, formAdvancedOptionsAlwaysShow: Boolean = false, formPromptTaggedInput: Boolean = false, source: ServerSource = ServerSource.AUTOMATIC1111, hordeApiKey: String = "", localUseNNAPI: Boolean = false, designUseSystemColorPalette: Boolean = false, designUseSystemDarkTheme: Boolean = false, designDarkTheme: Boolean = false, designColorToken: String = "", designDarkThemeToken: String = "", galleryGrid: Grid = Grid.Fixed2, languageCode: String = "")

Properties

Link copied to clipboard

Exposes the autoSaveAiResults value used by the SDAI domain layer.

Link copied to clipboard

Exposes the backgroundGeneration value used by the SDAI domain layer.

Link copied to clipboard

Exposes the demoMode value used by the SDAI domain layer.

Link copied to clipboard

Exposes the designColorToken value used by the SDAI domain layer.

Link copied to clipboard

Exposes the designDarkTheme value used by the SDAI domain layer.

Link copied to clipboard

Exposes the designDarkThemeToken value used by the SDAI domain layer.

Link copied to clipboard

Exposes the designUseSystemColorPalette value used by the SDAI domain layer.

Link copied to clipboard

Exposes the designUseSystemDarkTheme value used by the SDAI domain layer.

Link copied to clipboard

Exposes the developerMode value used by the SDAI domain layer.

Link copied to clipboard

Exposes the formAdvancedOptionsAlwaysShow value used by the SDAI domain layer.

Link copied to clipboard

Exposes the formPromptTaggedInput value used by the SDAI domain layer.

Link copied to clipboard

Exposes the galleryGrid value used by the SDAI domain layer.

Link copied to clipboard

Exposes the hordeApiKey value used by the SDAI domain layer.

Link copied to clipboard

Exposes the languageCode value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localDiffusionAllowCancel value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localDiffusionSchedulerThread value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localUseNNAPI value used by the SDAI domain layer.

Link copied to clipboard

Exposes the monitorConnectivity value used by the SDAI domain layer.

Link copied to clipboard

Exposes the saveToMediaStore value used by the SDAI domain layer.

Link copied to clipboard

Exposes the sdModel value used by the SDAI domain layer.

Link copied to clipboard

Exposes the serverUrl value used by the SDAI domain layer.

Link copied to clipboard

Exposes the source value used by the SDAI domain layer.