-
Notifications
You must be signed in to change notification settings - Fork 10
zmjjmz edited this page Apr 3, 2013
·
13 revisions
##Objects and Design
The BlueMesh Library is an Android Java Library which sets up a mesh network between Android Devices. To construct it, you need to construct a BlueMeshServiceBuilder and then call BlueMeshServiceBuilder.build(). These are the two public objects defined within the BlueMesh Library
##Public Methods
The public methods most commonly used in the library are:
- The builder constructor, BlueMeshServiceBuilder()
- BlueMeshService.launch(), which starts the service.
- BlueMeshService.write(byte[] buffer), which writes the array of bytes given to it to other devices.
- BlueMeshService.pull(), which returns an array of bytes sent to this device from others.
- BlueMeshService.disconnect(), which stops all threads and halts the service.