Skip to main content

defineRecordedDeviceFrames

A registry helper lets an app keep fixtures for every device it supports.

Kind: Function
Package: @ovok/native

Import​

import { defineRecordedDeviceFrames } from '@ovok/native/bt-management';

TypeScript signatures​

<T extends string>(fixtures: Record<T, readonly RecordedBleFrame[]>): Readonly<Record<T, readonly RecordedBleFrame[]>>
ParameterTypeDetails
fixturesRecord<T, readonly RecordedBleFrame[]>—

Returns: Readonly<Record<T, readonly RecordedBleFrame[]>>.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.