Skip to main content

useScanControl

Exposes scan pause/resume to apps using BTProvider.

Kind: React hook
Package: @ovok/native

Import​

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

TypeScript signatures​

(): { canControl: boolean; pauseScan: () => void; resumeScan: () => void; }

This symbol has no call parameters.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.