AndroidDebugMenuPlatformActions

class AndroidDebugMenuPlatformActions(val fileProviderDescriptor: FileProviderDescriptor, val backgroundTaskManager: BackgroundTaskManager) : DebugMenuPlatformActions(source)

Coordinates AndroidDebugMenuPlatformActions behavior in the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(fileProviderDescriptor: FileProviderDescriptor, backgroundTaskManager: BackgroundTaskManager)

Properties

Link copied to clipboard

Exposes the backgroundTaskManager value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the fileProviderDescriptor value used by the SDAI presentation layer.

Link copied to clipboard
open override val showLocalDiffusionSection: Boolean = true

Exposes the showLocalDiffusionSection value used by the SDAI presentation layer.

Link copied to clipboard
open override val showWorkManagerSection: Boolean = true

Exposes the showWorkManagerSection value used by the SDAI presentation layer.

Functions

Link copied to clipboard
open override fun cancelAllWork(): Result<Unit>

Executes the cancelAllWork step in the SDAI presentation layer.

Link copied to clipboard
open suspend override fun clearLogs(): Result<Unit>

Performs the SDAI side effect handled by clearLogs.

Link copied to clipboard
open override fun retryLastImageToImageTask(): Result<Unit>

Executes the retryLastImageToImageTask step in the SDAI presentation layer.

Link copied to clipboard
open override fun retryLastTextToImageTask(): Result<Unit>

Executes the retryLastTextToImageTask step in the SDAI presentation layer.