expo-running-kit
Version:
Expo native module for tracking running and walking workouts — GPS, pace, cadence, auto-pause, and laps.
14 lines • 495 B
TypeScript
import type { SessionState } from "../RunningKit.types";
type UseAutoPauseProps = {
enabled: boolean;
cadence: number;
sessionState: SessionState;
sessionStateRef: React.MutableRefObject<SessionState>;
delay: number;
resumeThreshold: number;
};
export declare function useAutoPause({ enabled, cadence, sessionState, sessionStateRef, delay, resumeThreshold, }: UseAutoPauseProps): {
cancelAutoPause: () => void;
};
export {};
//# sourceMappingURL=useAutoPause.d.ts.map