[Paid] BT: An extension to work with BlueTooth

1.Introduction

BT extension provides some features to work with bluetooth.

Latest Version: 1
Released: 2020-08-28T18:30:00Z
Last Updated: 2020-08-28T18:30:00Z
Required Api: 17
Permissions: android.permission.BLUETOOTH,android.permission.BLUETOOTH_ADMIN,android.permission.ACCESS_FINE_LOCATION,android.permission.ACCESS_COARSE_LOCATION

2.Blocks

image
image
image

3.Documentation

  • After Set Duration
    Event indicating whether duration was set successfuly or not.
    image
    success ~ boolean
    seconds ~ int
  • On Discovery Finished
    Event indicating that discovery has been finished and returns addresses paired and new devices.
    image
    pairedDevices ~ List
    newDevices ~ List
  • OnDiscoveryStarted
    Event indicating that discovery has been started.
    image
  • On Error
    Even indicating that a error has been occurred and returns error message.
    image
    errorMessage ~ text
  • On Pairing State Changed
    Event indicating that a device's state has changed.Either it has paired or unpaired with this device.
    image
    address ~ text
    isPaired ~ boolean
  • Address
    Returns device's bluetooth address.
    image
    Returns : text
  • Cancel Discovery
    Tries to stop discovery for nearby devices.
    image
  • Get Name
    Returns bt device name from address.
    image
    Returns : text
  • Get Paired Devices
    Returns a list of paired devices.
    image
    Returns : list
  • Is Discovering
    Returns true if device is searching for nearby bluetooth devices.
    image
    Returns : boolean
  • Is Enabled
    Returns true if bluetooth is enabled.
    image
    Returns : boolean
  • Is Paired Device
    Returns true if given address points to a paired device.
    image
    Returns : boolean
  • Is Valid Address
    Returns true if given address is valid.
    image
    Returns : boolean
  • Name
    Returns device's bluetooth name.
    image
    Returns : text
  • Pair
    Tries to pair with given device.
    image
  • Rename
    Tries to rename the device's bt name and returns result.
    image
    Returns : boolean
  • Set Visibility
    Sets visibility of device in seconds.
    image
  • Start Discovery
    Tries to start discovery for nearby devices.
    image
  • Toggle
    Enables/Disables bluetooth.
    image
  • Unpair
    Tries to unpair with given device.
    image

4.Buy

(TBH, I never wanted to make a paid extension but due to some personal problems I urgently need some money so this extension is a paid one. :pleading_face:)

Price: $4

Kindly send me a PM with a screenshot of payment if you are interested.

(However, if someone donates the required amount then I will make this extension free :blush:)

5.Credits

Thanks to @Salman_Dev for beta testing the extension :heart_eyes:
Thanks a lot to MIT :heart:

Thank you. :slightly_smiling_face:

6 Likes

Nice Extension @vknow360 :heart_eyes: :heart_eyes:

hope your problem will solve asap

2 Likes

Great extension as always @vknow360 :grinning: :+1:

2 Likes

:ok_hand: :grin: :+1: Cool

1 Like

(added to FAQ)

3 Likes