PreferenceManager

Defines the PreferenceManager contract for the SDAI domain layer.

Author

Dmitriy Moroz

Properties

Link copied to clipboard

Exposes the automatic1111ServerUrl value used by the SDAI domain layer.

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 backgroundProcessCount value used by the SDAI domain layer.

Link copied to clipboard
abstract var demoMode: Boolean

Exposes the demoMode value used by the SDAI domain layer.

Link copied to clipboard
abstract var designColorToken: String

Exposes the designColorToken value used by the SDAI domain layer.

Link copied to clipboard
abstract var designDarkTheme: Boolean

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
abstract var developerMode: Boolean

Exposes the developerMode value used by the SDAI domain layer.

Link copied to clipboard

Exposes the forceSetupAfterUpdate 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
abstract var galleryGrid: Grid

Exposes the galleryGrid value used by the SDAI domain layer.

Link copied to clipboard
abstract var hordeApiKey: String

Exposes the hordeApiKey value used by the SDAI domain layer.

Link copied to clipboard

Exposes the huggingFaceApiKey value used by the SDAI domain layer.

Link copied to clipboard
abstract var huggingFaceModel: String

Exposes the huggingFaceModel value used by the SDAI domain layer.

Link copied to clipboard
abstract var languageCode: String

Exposes the languageCode value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localMediaPipeCustomModelPath value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localMediaPipeModelId value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localOnnxAllowCancel value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localOnnxCustomModelPath value used by the SDAI domain layer.

Link copied to clipboard
abstract var localOnnxModelId: String

Exposes the localOnnxModelId value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localOnnxSchedulerThread value used by the SDAI domain layer.

Link copied to clipboard

Exposes the localOnnxUseNNAPI 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 onBoardingComplete value used by the SDAI domain layer.

Link copied to clipboard
abstract var openAiApiKey: String

Exposes the openAiApiKey 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
abstract var sdModel: String

Exposes the sdModel value used by the SDAI domain layer.

Link copied to clipboard
abstract var source: ServerSource

Exposes the source value used by the SDAI domain layer.

Link copied to clipboard

Exposes the stabilityAiApiKey value used by the SDAI domain layer.

Link copied to clipboard

Exposes the stabilityAiEngineId value used by the SDAI domain layer.

Link copied to clipboard
abstract var swarmUiModel: String

Exposes the swarmUiModel value used by the SDAI domain layer.

Link copied to clipboard
abstract var swarmUiServerUrl: String

Exposes the swarmUiServerUrl value used by the SDAI domain layer.

Functions

Link copied to clipboard
abstract fun observe(): Flow<Settings>

Loads SDAI data through observe.

Link copied to clipboard
abstract suspend fun refresh()

Executes the refresh step in the SDAI domain layer.