GuidesModules

Device instructions

Show the instruction manual for an integrated Bluetooth device.

  • Stable unknown
  • Release candidate since 1.16.1-rc.3
  • Development since 1.16.1-dev.2111+9796905

@ovok/native/bt-device-instructions shows the instruction PDF the SDK hosts for an integrated Bluetooth device. BTDeviceInstruction picks the manual from DEVICE_INSTRUCTION_PDFS by device type and renders it with the PDF viewer, so it needs the react-native-pdf and react-native-blob-util peers.

import { BTDeviceInstruction } from "@ovok/native/bt-device-instructions";
import { IntegratedDevices } from "@ovok/native/bt-management";

<BTDeviceInstruction deviceType={IntegratedDevices.BP2} />;

Not every device has a manual. Handle onError and show your own help content when the PDF is missing or fails to load.

Components

API reference

Every export of @ovok/native/bt-device-instructions, with signatures, props and types, is in the bt-device-instructions API reference.

Last updated on

On this page