XYO Flutter SDK
Table of Contents
Description
A robust Bluetooth solution for Android. This BLE SDK was written from ground-up, in Kotlin, to help developers with the agonizing issues with Android the BLE stack. Not only will this SDK make XYO apps better, but bring XYO functionality to existing apps. In addition to generalized BLE support, the SDK also has specific support for XY spacific hardware.
Install
Add this to your pubspec:
dependencies:
sdk_xyo_flutter: ^0.1.0
Update your packages:
flutter pub get
If you are using VSCode, you will be prompted to update packages in the editor.
Usage
Enums
XyoNodeType
client
server
XyoScannerStatus
none
enabled
bluetoothDisabled
bluetoothUnavailable
locationDisabled
unknown
Methods
getClient
getServer
addListener
setListening
getPublicKey
onDeviceDetected
onBoundWitnessSuccess
For implementation examples, see the example app here
We are working on a full getting started guide.
License
See the LICENSE file for license details.
Credits
Made with