Skip to main content

BTManager.onDeviceFound

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Class method
Package: @ovok/native

Import​

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

TypeScript signatures​

onDeviceFound(callback?: (device: BTManagedDevice<DeviceKeyOf<T>>, manager: BTManager<T>) => Promise<void>): void
ParameterTypeDetails
callback(device: BTManagedDevice<DeviceKeyOf<T>>, manager: BTManager<T>) => Promise<void>—

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.