BrainBit foe developers Subscribe for updates Visit website
Home
SDK
Windows
iOS
Android
DotNet
Web
Device

DeviceEnumerator

Package: com.neuromd.neurosdk

Device search and creation class. Designed to search for available devices. It is also designed to create an instance of a device class based on information about the device.

Important information:

To search and create devices, it is necessary that the hardware supports BLE, as well as that the application has permission to use BLE and GPS, while BLE and GPS modules must be enabled separately, since the SDK does not provide this functionality. More details.

The search for devices starts immediately after the class is instantiated.

Includes the following fields:

DeviceEnumerator

Constructor.

Context: Application context

DeviceType: Device type, must be specified Brainbit

More details: DeviceType

Devices

List of descriptions of found devices

CreateDevice

Instantiate the device class based on the device description.

More details: Device

Сlose

Stop searching and release the resources of an instance of this class. The method must be called after you have finished working with it and created, if required, device class instances.

DeviceListChanged

Device list update event.

Subscribe to the event: subscribe

Unsign an event: unsubscribe