AndroidWorkoutData — @gj-kit/expo-workouts
A public interface from @gj-kit/expo-workouts. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { AndroidWorkoutData } from '@gj-kit/expo-workouts';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** Raw Android values the common model deliberately does not model. */interface AndroidWorkoutData { /** Raw ExerciseSessionRecord.exerciseType. */ readonly exerciseType: number; readonly packageName: string; readonly recordingMethod: number; readonly deviceType?: number | undefined; /** * The writer's own client record id. Foreign apps' values ARE visible here — treat it as PUBLIC * data, never as a private namespace. */ readonly clientRecordId?: string | undefined; readonly clientRecordVersion?: number | undefined; readonly endUtcOffsetMin?: number | undefined; /** Foreign-app authored text. This library never writes a title or notes. */ readonly title?: string | undefined; readonly notes?: string | undefined; /** Every segment, including REST (44), which `pauses` deliberately excludes. PAUSE is 39. */ readonly segments: readonly { readonly type: number; readonly startMs: number; readonly endMs: number; }[];}This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-workouts - Version:
0.1.1 - Public entry:
. - Source: GitHub