Hold

data class Hold(val durationInMs: Int = 0, val waveform: List<Float> = emptyList(), val offset: Pair<Float, Float> = ZeroOffset) : RecordingState.Recording

Constructors

Link copied to clipboard
constructor(durationInMs: Int = 0, waveform: List<Float> = emptyList(), offset: Pair<Float, Float> = ZeroOffset)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val durationInMs: Int = 0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val waveform: List<Float>

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
fun RecordingState.Recording.copy(duration: Int = this.durationInMs, waveform: List<Float> = this.waveform): RecordingState.Recording