Kit > healthstack.kit.task.activity.predefined

Package healthstack.kit.task.activity.predefined

Types

Name Summary
ColorWordChallengeActivityTask

[androidJvm]
class ColorWordChallengeActivityTask(val id: String, val taskId: String, val name: String, val description: String, completionTitle: String, completionDescription: List<String>?, val steps: List<Step<out StepModel, *>> = listOf( SimpleViewActivityStep( id, name, ColorWordChallengeIntroModel(id, name) ), ColorWordChallengeMeasureStep( id, name, ColorWordChallengeMeasureModel(id, name), ), SimpleViewActivityStep( id, name, ColorWordChallengeResultModel(id, name, header = completionTitle, body = completionDescription) ), ), isCompleted: Boolean = false, isActive: Boolean = true) : ActivityTask

GaitAndBalanceActivityTask

[androidJvm]
class GaitAndBalanceActivityTask(val id: String, val taskId: String, val name: String = "Gait & Balance", val description: String, completionTitle: String, completionDescription: List<String>?, val steps: List<Step<out StepModel, *>> = listOf( SimpleViewActivityStep( id, name, GaitAndBalanceIntroModel(id) ), SimpleViewActivityStep( id, name, GaitAndBalanceGMeasureModel( id, header = "Walk in a straight line unassisted for 20 steps", buttonText = "Done" ) ), SimpleViewActivityStep( id, name, GaitAndBalanceGMeasureModel( id, header = "Turn around and walk back to your starting point", drawableId = R.drawable.ic_activity_gait_and_balance_back, buttonText = "Done" ) ), SimpleTimerActivityStep( id, name, GaitAndBalanceBMeasureModel( id, header = "Stand still for 20 seconds", timeSeconds = 20, interactionType = VIBRATE, ) ), SimpleViewActivityStep( id, name, GaitAndBalanceResultModel(id, name, header = completionTitle, body = completionDescription) ) ), isCompleted: Boolean = false, isActive: Boolean = true) : ActivityTask

GuidedBreathingActivityTask

[androidJvm]
class GuidedBreathingActivityTask(val id: String, val taskId: String, val name: String, val description: String, completionTitle: String, completionDescription: List<String>?, val steps: List<Step<out StepModel, *>> = listOf( SimpleViewActivityStep( id, name, GuidedBreathingIntroModel(id, name), ), GuidedBreathingMeasureStep( id, name, GuidedBreathingMeasureModel(id, name), ), SimpleViewActivityStep( id, name, GuidedBreathingResultModel(id, name, header = completionTitle, body = completionDescription), ), ), isCompleted: Boolean = false, isActive: Boolean = true) : ActivityTask

MobileSpirometryActivityTask

[androidJvm]
class MobileSpirometryActivityTask(val id: String, val taskId: String, val name: String, val description: String, completionTitle: String, completionDescription: List<String>?, val steps: List<Step<out StepModel, *>> = listOf( SimpleAudioActivityStep( id, name, MobileSpirometryIntroModel(id, name) ), MobileSpirometryMeasureStep( id, name, MobileSpirometryMeasureModel(id, name) ), SimpleViewActivityStep( id, name, MobileSpirometryResultModel(id, name, header = completionTitle, body = completionDescription) ), ), isCompleted: Boolean = false, isActive: Boolean = true) : ActivityTask

PredefinedTaskUtil

[androidJvm]
class PredefinedTaskUtil

RangeOfMotionActivityTask

[androidJvm]
class RangeOfMotionActivityTask(val id: String, val taskId: String, val name: String, val description: String, completionTitle: String, completionDescription: List<String>?, val steps: List<Step<out StepModel, *>> = listOf( SimpleViewActivityStep( id, name, RangeOfMotionIntroModel(id, name) ), SimpleViewActivityStep( id, name, RangeOfMotionIntroModel( id = id, title = name, header = "Right Arm Circumduction", body = listOf( "Place phone in your right hand.", "Straighten your right arm and move it in a full circle for 20 sec." ), drawableId = R.drawable.ic_activity_range_of_motion_right_arm, buttonText = "Start Exercise", ) ), RangeOfMotionMeasureStep( id, name, RangeOfMotionMeasureModel(id, name), ), SimpleViewActivityStep( id, name, RangeOfMotionResultModel( id, name, header = completionTitle, body = completionDescription, buttonText = "Continue" ) ), SimpleViewActivityStep( id, name, RangeOfMotionIntroModel( id = id, title = name, header = "Left Arm Circumduction", body = listOf( "Place phone in your left hand.", "Straighten your left arm and move it in a full circle for 20 sec.", ), drawableId = R.drawable.ic_activity_range_of_motion_left_arm, buttonText = "Start Exercise", ) ), RangeOfMotionMeasureStep( id, name, RangeOfMotionMeasureModel( id, name, header = "Left Arm Circumduction", body = listOf( "Place phone in your left hand.", "Straighten your left arm and move it in a full circle for 20 sec", ), isRightHand = false, ) ), SimpleViewActivityStep( id, name, RangeOfMotionResultModel( id, name, header = completionTitle, body = completionDescription, ) ), ), isCompleted: Boolean = false, isActive: Boolean = true) : ActivityTask

ReactionTimeActivityTask

[androidJvm]
class ReactionTimeActivityTask(val id: String, val taskId: String, val name: String, val description: String, completionTitle: String, completionDescription: List<String>?, val steps: List<Step<out StepModel, *>> = listOf( SimpleViewActivityStep( id, name, ReactionTimeIntroModel(id, name), ), ReactionTimeMeasureStep( id, name, ReactionTimeMeasureModel(id, name), ), SimpleViewActivityStep( id, name, ReactionTimeResultModel(id, name, header = completionTitle, body = completionDescription), ), ), isCompleted: Boolean = false, isActive: Boolean = true) : ActivityTask

SpeechRecognitionActivityTask

[androidJvm]
class SpeechRecognitionActivityTask(val id: String, val taskId: String, val name: String, val description: String, completionTitle: String, completionDescription: List<String>?, val steps: List<Step<out StepModel, *>> = listOf( SimpleAudioActivityStep( id, name, SpeechRecognitionIntroModel(id, name) ), SpeechRecognitionMeasureStep( id, name, SpeechRecognitionMeasureModel(id, name) ), SimpleViewActivityStep( id, name, SpeechRecognitionResultModel(id, name, header = completionTitle, body = completionDescription) ) ), isCompleted: Boolean = false, isActive: Boolean = true) : ActivityTask

SustainedPhonationActivityTask

[androidJvm]
class SustainedPhonationActivityTask(val id: String, val taskId: String, val name: String, val description: String, completionTitle: String, completionDescription: List<String>?, val steps: List<Step<out StepModel, *>> = listOf( SimpleAudioActivityStep( id, name, SustainedPhonationIntroModel(id, name) ), SustainedPhonationMeasureStep( id, name, SustainedPhonationMeasureModel(id, name) ), SimpleViewActivityStep( id, name, SustainedPhonationResultModel(id, name, header = completionTitle, body = completionDescription) ), ), isCompleted: Boolean = false, isActive: Boolean = true) : ActivityTask

TappingSpeedActivityTask

[androidJvm]
class TappingSpeedActivityTask(val id: String, val taskId: String, val name: String = "Tapping Speed", val description: String, completionTitle: String, completionDescription: List<String>?, val steps: List<Step<out StepModel, *>> = listOf( SimpleViewActivityStep( id, name, TappingSpeedIntroModel( id, name ) ), SimpleViewActivityStep( id, name, TappingSpeedIntroModel( id, name, body = "Place your phone on a flat surface.\n" + "Use two fingers on right hand to alternatively tap the buttons on the screen.\n" + "Keep tapping for 10 seconds.", buttonText = "Start Exercise" ) ), TappingSpeedMeasureStep( id, name, TappingSpeedMeasureModel( id, name, null, measureTimeSecond = 10 ) ), SimpleViewActivityStep( id, name, TappingSpeedIntroModel( id, name, body = "Place your phone on a flat surface.\n" + "Use two fingers on left hand to alternatively tap the buttons on the screen.\n" + "Keep tapping for 10 seconds.", drawableId = R.drawable.ic_left_tapping_speed, buttonText = "Start Exercise" ) ), TappingSpeedMeasureStep( id, name, TappingSpeedMeasureModel( id, name, null, false, 10 ) ), SimpleViewActivityStep( id, name, TappingSpeedResultModel( id, name, header = completionTitle, body = completionDescription ) ) ), isCompleted: Boolean = false, isActive: Boolean = true) : ActivityTask