1.Introduction
BluetoothInfo is an Extension to get some information from a local Bluetooth Adapter.
This extension won't be updated anymore, that's why I've provided the source code.
Latest Version: 1
Released: 2021-09-16T22:00:00Z
Last Updated: 2021-09-16T22:00:00Z
Tested: Android 8, Companion and Compiled
Permissions:
android.permission.BLUETOOTH, android.permission.BLUETOOTH_ADMIN, android.permission.ACCESS_FINE_LOCATION
2.Blocks
3.Documentation
Event occurs when the information about bluetooth changes.
state will return Constant Value ➤ Check the Constant Values here
name will return Text
scanMode will return Constant Value ➤ Check the Constant Values here
connectionState will return Constant Value ➤ Check the Constant Values here
Return the hardware address of the local Bluetooth Adapter.
For example, "00:11:22:AA:BB:CC".
Note: This block can only work for Devices < Android 8, for more info visit Android 6.0 Changes.
Return the Bluetooth name of the local Bluetooth Adapter.
Return the current Bluetooth scan mode of the local Bluetooth Adapter.
This block will return Constant Value ➤ Check the Constant Values here
Return the current state of the local Bluetooth Adapter.
This block will return Constant Value ➤ Check the Constant Values here
Return true if Bluetooth local Adapter is available.
Return true if Bluetooth is currently enabled and ready for use.
Return true if the address is valid, false otherwise
4.Downloads
com.SalmanDev.BluetoothInfo.aix (10.2 KB)
ExampleProject1.aia (13.2 KB)
Source Code : BluetoothInfo.txt (5.5 KB)
5.Credits
Thank you very much to My Best Teacher @MohamedTamer
Big Thanks to @vknow360 for the support
Thanks to all of you who helped me
And Thanks a lot to MIT