@kingstinct/react-native-healthkit
Version:
React Native bindings for HealthKit
8 lines (7 loc) • 452 B
TypeScript
import type { MetadataMapperForQuantityIdentifier, HKQuantityTypeIdentifier, UnitForIdentifier } from '../native-types';
declare function saveQuantitySample<TType extends HKQuantityTypeIdentifier>(identifier: TType, unit: UnitForIdentifier<TType>, value: number, options?: {
readonly start?: Date;
readonly end?: Date;
readonly metadata?: MetadataMapperForQuantityIdentifier<TType>;
}): Promise<boolean>;
export default saveQuantitySample;