Skip to main content

BreathingExerciseContextType

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Type alias
Package: @ovok/native

Import​

import { BreathingExerciseContextType } from '@ovok/native/breathing-exercise';

TypeScript shape​

type BreathingExerciseContextType = BreathingExercise & {
progress: SharedValue<number>;
roundData: SharedValue<{
method: BreathingExercise["methods"][number];
animationProgress: number;
remainingTime: number;
}>;
remainingTime: number;
methodType: BreathingExercise["methods"][number]["type"];
};

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
methodsBreathingPattern—
repeatnumber—
onFinish() => voidOptional. —
progressSharedValue<number>—
roundDataSharedValue<{ method: BreathingExercise["methods"][number]; animationProgress: number; remainingTime: number; }>—
remainingTimenumber—
methodTypeBreathingExercise["methods"][number]["type"]—

Source​

View the declaration in the SDK source.