BTManager.setBackgroundScanEnabled
Switches only the scan policy; the app can keep a foreground scan broad.
Kind: Class method
Package: @ovok/native
Import
import { BTManager } from '@ovok/native/bt-management';
TypeScript signatures
setBackgroundScanEnabled(enabled: boolean): void
| Parameter | Type | Details |
|---|---|---|
enabled | boolean | — |
Returns: void.
Class
This method is available on BTManager.
Learn the workflow
Continue with Bluetooth for the workflow context and examples.