Skip to main content

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
ParameterTypeDetails
enabledboolean—

Returns: void.

Class​

This method is available on BTManager.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.