A class for finding available devices and instantiating a device class based on device information.
Important information:
To search and create devices, the hardware must support BLE, as well as the application must have permission to use BLE and contain the NSBluetoothAlwaysUsageDescription key, while the BLE module must be enabled separately, since the SDK does not provide this functionality.
Description
NTDeviceEnumerator |
Constructor. Instantiating the Device Finder Class. Creates an instance of the class for searching and creating devices Parameters. deviceType Description: Device type, you must specify TypeBrainbit, or TypeBrainBitBlack, or TypeBrainBitAny. Data type: NTDevicetype Return value. Description: class instance NTDeviceEnumerator Data type: NTDeviceEnumerator |
subscribeFoundDevice |
Function. Adding a listener for the device list update event. Install a listener for updating the list of found devices. Parameters: subscriber Description: method for handling the event of updating the list of found devices. Data type: void(NTDeviceInfo) Return value: Description: An error flag, returns NO if an error occurs. Data type: bool. |
© Copyright 2016 - 2024 | BrainBit - EEG wearable headband | All Rights Reserved
A verification email has been sent to your email address
You have successfully subscribed to the SDK update mailing list.
Please, try again