NativeStepCounter.js

"use strict";

import { TurboModuleRegistry } from "react-native";

/**
 * `StepCountData` is an object with four properties: `distance`, `steps`, `startDate`, and `endDate`.
 * StepCountData object - The Object that contains the step count data.
 * counterType - The type of counter used to count the steps.
 * steps - The number of steps taken during the time period.
 * startDate - The start date of the data.
 * endDate - The end date of the data.
 * distance - Distance in meters, or null when unavailable. Android estimates this from steps.
 * floorsAscended - number of floors ascended (iOS only, null when unavailable)
 * floorsDescended - number of floors descended (iOS only, null when unavailable)
 */

/** Serializable native failure. Query errors can recover; fatal errors stop counting. */

/** Platform-specific diagnostic metadata; optional fields are absent on other platforms. */

/** Registered native TurboModule name: StepCounter. */
export const NAME = "StepCounter";
export const VERSION = "0.5.0";
export const eventName = "StepCounter.stepCounterUpdate";
export default TurboModuleRegistry.getEnforcing("StepCounter");
//# sourceMappingURL=NativeStepCounter.js.map