-
public class SearchBuilder
mesh search builder
-
-
Field Summary
Fields Modifier and Type Field Description private String
meshName
private Array<UUID>
serviceUUIDs
private int
timeOut
private IThingBlueMeshSearchListener
thingBlueMeshSearchListener
-
Method Summary
Modifier and Type Method Description String
getMeshName()
Get mac address of device. SearchBuilder
setMeshName(String meshName)
Set mac address. Array<UUID>
getServiceUUIDs()
Get ble service uuids. SearchBuilder
setServiceUUIDs(Array<UUID> serviceUUIDs)
Set ble service uuids. int
getTimeOut()
Get timeout mills, default is 1000 mills. SearchBuilder
setTimeOut(int timeOut)
Set timeout mills. IThingBlueMeshSearchListener
getThingBlueMeshSearchListener()
Get IThingBlueMeshSearchListener. SearchBuilder
setThingBlueMeshSearchListener(IThingBlueMeshSearchListener thingBlueMeshSearchListener)
Set IThingBlueMeshSearchListener. SearchBuilder
build()
Build method. -
-
Method Detail
-
getMeshName
String getMeshName()
Get mac address of device.
-
setMeshName
SearchBuilder setMeshName(String meshName)
Set mac address.
- Parameters:
meshName
- Mac address of device
-
getServiceUUIDs
Array<UUID> getServiceUUIDs()
Get ble service uuids.
-
setServiceUUIDs
SearchBuilder setServiceUUIDs(Array<UUID> serviceUUIDs)
Set ble service uuids.
- Parameters:
serviceUUIDs
- Array of UUID
-
getTimeOut
int getTimeOut()
Get timeout mills, default is 1000 mills.
-
setTimeOut
SearchBuilder setTimeOut(int timeOut)
Set timeout mills.
- Parameters:
timeOut
- Timeout seconds.
-
getThingBlueMeshSearchListener
IThingBlueMeshSearchListener getThingBlueMeshSearchListener()
Get IThingBlueMeshSearchListener.
-
setThingBlueMeshSearchListener
SearchBuilder setThingBlueMeshSearchListener(IThingBlueMeshSearchListener thingBlueMeshSearchListener)
Set IThingBlueMeshSearchListener.
-
build
SearchBuilder build()
Build method.
-
-
-
-