Skip to content

BlueMeshServiceBuilder

zmjjmz edited this page Apr 3, 2013 · 2 revisions

The BlueMeshServiceBuilder object is called by the user to construct BlueMeshService objects. It uses the methods bluetooth, uuid, and deviceId to set properties of the BlueMeshService object to be built.

BlueMeshServiceBuilder()

Constructs a BlueMeshServiceBuilder object with the default UUID, bluetooth disabled, and a blank deviceId.

BlueMeshServiceBuilder uuid( UUID a_uuid )

Sets the UUID object of the BlueMeshServiceBuilder and returns it.

BlueMeshServiceBuilder bluetooth( boolean enabled )

Sets the bluetooth status of the BlueMeshServiceBuilder and returns it.

BlueMeshServiceBuilder deviceId( String a_deviceId )

Sets the deviceId of the BlueMeshServiceBuilder and returns it.

BlueMeshService build()

Builds a BlueMeshService object with the current UUID, bluetooth state, and deviceId, and returns it.

Clone this wiki locally