BluetoothPlugin
PluginBluetoothPluginLess than 1 minute
BluetoothPlugin provides access to Bluetooth functionality.
import { bluetoothPlugin } from "@plaoc/bluetooth";
bluetooth.open();
Properties
- None
Methods
Opens the Bluetooth adapter.
Closes the Bluetooth adapter.
BluetoothPlugin.requestAndConnectDevice()
Requests and connects to a Bluetooth device.
Events
- None
Example
import { bluetoothPlugin } from "@plaoc/plugins";
bluetooth.open();
Platform Compatibility
Property/Method/Event | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
open | ✅ | ✅ | ✅ | X |
close | ✅ | ✅ | ✅ | X |
requestAndConnectDevice | ✅ | ✅ | ✅ | X |
See Also
Powered by Waline v2.15.7