useMeasurements
No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.
Kind: React hook
Package: @ovok/native
Import
import { useMeasurements } from '@ovok/native/bt-management';
TypeScript signatures
(onResult?: (result: RuntimeResult) => void, { policy, maxResults }?: UseMeasurementsOptions): { measurements: readonly RuntimeResult[]; clear: () => void; }
| Parameter | Type | Details |
|---|---|---|
onResult | (result: RuntimeResult) => void | — |
__1 | UseMeasurementsOptions | — |
Returns: { measurements: readonly RuntimeResult[]; clear: () => void; }.
Learn the workflow
Continue with Bluetooth for the workflow context and examples.