Skip to main content

BTManager.disconnectDevice

Disconnects one device so it can be rediscovered by a later advertisement.

Kind: Class method
Package: @ovok/native

Import​

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

TypeScript signatures​

disconnectDevice(deviceId: string): Promise<void>
ParameterTypeDetails
deviceIdstring—

Returns: Promise<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.