Skip to content

androidExerciseTypeFromKind — @gj-kit/expo-workouts

A public function from @gj-kit/expo-workouts. The signature below is taken directly from the 0.1.1 release declaration.

import { androidExerciseTypeFromKind } from '@gj-kit/expo-workouts';
/**
* WRITE direction, Android. `indoor` selects between the constant PAIR where one exists
* (running / cycling / swimming / rowing) and is otherwise silently dropped — Health Connect has
* nowhere to store it.
* ⚠ `kind: 'other'` writes OTHER_WORKOUT(0) and is NOT recoverable on read.
*/
declare function androidExerciseTypeFromKind(kind: WorkoutKind, indoor?: boolean | undefined): 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.

  • Package: @gj-kit/expo-workouts
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub