SLPressurePipe

class SLPressurePipe(pressureService: SLPressureService, analytics: SLAnalytics?) : SLPipeBase

Constructors

Link copied to clipboard
constructor(pressureService: SLPressureService, analytics: SLAnalytics?)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun runAsync(context: SLPipeContext): Deferred<SLPipeResult>
Link copied to clipboard
open fun stop(androidContext: Context)
Link copied to clipboard
open override fun updateMode(mode: SLMode)

Here we can define what should happen on modechanges. Most commonly we just want to enable/disable the pipe based on selected mode. But this is not always the case. Sometimes we might want to cancel an ongoing process