//kit/healthstack.kit.task.activity.model/SustainedPhonationMeasureModel

SustainedPhonationMeasureModel

[androidJvm]
class SustainedPhonationMeasureModel(val id: String, val title: String = "Sustained Phonation", val drawableId: Int? = null, val noiseThreshold: Int = 3000, inhaleSecond: Int = 5, exhaleSecond: Int = 5, val recorder: AudioRecorder.Companion = AudioRecorder) : StepModel

Constructors

   
SustainedPhonationMeasureModel [androidJvm]
fun SustainedPhonationMeasureModel(id: String, title: String = "Sustained Phonation", drawableId: Int? = null, noiseThreshold: Int = 3000, inhaleSecond: Int = 5, exhaleSecond: Int = 5, recorder: AudioRecorder.Companion = AudioRecorder)

Types

Name Summary
BreathingState [androidJvm]
enum BreathingState : Enum<SustainedPhonationMeasureModel.BreathingState>

Functions

Name Summary
delete [androidJvm]
fun delete()
getAmplitudes [androidJvm]
fun getAmplitudes(): Flow<Int>
start [androidJvm]
fun start(context: Context)
stop [androidJvm]
fun stop()

Properties

Name Summary
cycleAnim [androidJvm]
val cycleAnim: TweenSpec<Float>
drawableId [androidJvm]
val drawableId: Int?
a representative image for UI
exhaleAnim [androidJvm]
val exhaleAnim: TweenSpec<Dp>
filePath [androidJvm]
var filePath: String
id [androidJvm]
val id: String
id
inhaleAnim [androidJvm]
val inhaleAnim: TweenSpec<Dp>
noiseThreshold [androidJvm]
val noiseThreshold: Int = 3000
recorder [androidJvm]
val recorder: AudioRecorder.Companion
startAnim [androidJvm]
val startAnim: TweenSpec<Float>
title [androidJvm]
val title: String
a title of UI