Skip to content

HeartRateSample — @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.

import { HeartRateSample } from '@gj-kit/expo-workouts';
/** One heart-rate reading. The same shape on read and on write. */
interface HeartRateSample {
/** Epoch MILLISECONDS. */
readonly t: number;
/** Integer beats per minute, 1..300. Samples outside that range are dropped on write. */
readonly bpm: 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