@yoda/bluetooth

The YodaOS includes support for the Bluetooth network stack, which allows a device to wirelessly exchange data with other Bluetooth devices. Using the Bluetooth APIs, your application can perform the followings:

  • Control Bluetooth playback.
  • Transfer data to and from other devices.

Classes

BluetoothPlayer
BluetoothMessageStream

Methods

(static) getMessageStream() → {module:@yoda/bluetooth.BluetoothMessageStream}

get the BluetoothMessageStream instance for messaging.

(static) getPlayer() → {module:@yoda/bluetooth.BluetoothPlayer}

get the BluetoothPlayer instance for multimedia.

(static) disconnect() → {module:@yoda/bluetooth.BluetoothPlayer}

disconnect all the bluetooth.