Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BluetoothOptions

Bluetooth Options interface

Hierarchy

  • BluetoothOptions

Index

Properties

Optional deviceFound

deviceFound: (device: BluetoothDevice, selectFn: () => void) => boolean

A device found callback function to allow the user to select a device

Type declaration

    • Parameters

      Returns boolean

Optional referringDevice

referringDevice: BluetoothDevice

An optional referring device

Optional scanTime

scanTime: number

The amount of seconds to scan for the device (default is 10)