Skip to main content

BluetoothPlugin.close()

BFChainPluginBluetoothPlugincloseLess than 1 minute

Closes the BluetoothPlugin adapter.

BluetoothPlugin.close()  

Parameters

  • None

Returns

Example

import { bluetoothPlugin } from "@plaoc/plugins";

bluetoothPlugin.close()
.then(res => {
  if(res.success) {
    // Bluetooth closed successfully
  } else {
    // Failed to close Bluetooth
  }
})

Platform Compatibility

Property/Method/EventAndroidiOSDesktop-DevDesktop
closeX

See Also

BluetoothPlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7