AndroidGenerationPlatformServices

Coordinates AndroidGenerationPlatformServices behavior in the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(notificationManager: PushNotificationManager, wakeLockInterActor: WakeLockInterActor)

Properties

Link copied to clipboard

Exposes the notificationManager value used by the SDAI presentation layer.

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

Exposes the supportsBackgroundGeneration value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the wakeLockInterActor value used by the SDAI presentation layer.

Functions

Link copied to clipboard
open suspend override fun acquireWakeLock()

Performs the SDAI side effect handled by acquireWakeLock.

Link copied to clipboard
open suspend override fun releaseWakeLock()

Performs the SDAI side effect handled by releaseWakeLock.

Link copied to clipboard
open override fun showGenerationFailed()

Executes the showGenerationFailed step in the SDAI presentation layer.

Link copied to clipboard
open override fun showGenerationSucceeded()

Executes the showGenerationSucceeded step in the SDAI presentation layer.