-
public class MeshConnectBuilder.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private SigMeshBean
sigMeshBean
private long
scanTimeout
private int
ttl
private int
connectStrategy
-
Method Summary
Modifier and Type Method Description MeshConnectBuilder.Builder
setSigMeshBean(SigMeshBean sigMeshBean)
MeshConnectBuilder.Builder
setScanTimeout(long scanTimeout)
MeshConnectBuilder.Builder
setTTL(int ttl)
Set up the ttl in the mesh network MeshConnectBuilder.Builder
setConnectStrategy(int connectStrategy)
MeshConnectBuilder.Builder
setDeviceList(List<String> devIdList)
Set up the device you want to connect MeshConnectBuilder.Builder
setSearchDeviceBean(List<out SearchDeviceBean> searchDeviceBeans)
MeshConnectBuilder.Builder
setConnectStatusListener(MeshConnectStatusListener listener)
MeshConnectBuilder.Builder
setNodeIds(String nodeId)
MeshConnectBuilder
build()
-
-
Method Detail
-
setSigMeshBean
MeshConnectBuilder.Builder setSigMeshBean(SigMeshBean sigMeshBean)
-
setScanTimeout
MeshConnectBuilder.Builder setScanTimeout(long scanTimeout)
-
setTTL
MeshConnectBuilder.Builder setTTL(int ttl)
Set up the ttl in the mesh network
- Parameters:
ttl
- time to live
-
setConnectStrategy
MeshConnectBuilder.Builder setConnectStrategy(int connectStrategy)
-
setDeviceList
MeshConnectBuilder.Builder setDeviceList(List<String> devIdList)
Set up the device you want to connect
- Parameters:
devIdList
- devices id
-
setSearchDeviceBean
MeshConnectBuilder.Builder setSearchDeviceBean(List<out SearchDeviceBean> searchDeviceBeans)
-
setConnectStatusListener
MeshConnectBuilder.Builder setConnectStatusListener(MeshConnectStatusListener listener)
-
setNodeIds
MeshConnectBuilder.Builder setNodeIds(String nodeId)
-
build
MeshConnectBuilder build()
-
-
-
-