Skip to main content

BluetoothDevicePickerProps

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

Kind: Interface
Package: @ovok/native

Import​

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

TypeScript shape​

interface BluetoothDevicePickerProps extends OvokUiProps {
devices: readonly BTDeviceSelection[];
visible: boolean;
title?: string;
onSelect: (device: BTDeviceSelection) => void;
onDismiss?: () => void;
dismissLabel?: string;
getDeviceImage?: (device: BTDeviceSelection) => string | undefined;
labelForDevice?: (device: BTDeviceSelection) => string;
renderRow?: (device: BTDeviceSelection, actions: {
select: () => void;
}) => React.ReactNode;
testID?: string;
}

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
devicesreadonly BTDeviceSelection[]—
visibleboolean—
titlestringOptional. —
onSelect(device: BTDeviceSelection): void—
onDismiss() => voidOptional. —
dismissLabelstringOptional. —
getDeviceImage(device: BTDeviceSelection) => string | undefinedOptional. —
labelForDevice(device: BTDeviceSelection) => stringOptional. —
renderRow(device: BTDeviceSelection, actions: { select: () => void; }) => React.ReactNodeOptional. —
testIDstringOptional. —
themeOvokThemeOverrideOptional. A partial theme is merged with the active react-native-paper theme.
slotsPartial<OvokUiSlots>Optional. Replace individual primitives without forking an SDK component.

Learn the workflow​

Continue with Bluetooth for the workflow context and examples.

Source​

View the declaration in the SDK source.