-
public interface ISigMeshManager
Provide SigMeshBean operation interface.
-
-
Method Summary
Modifier and Type Method Description abstract SigMeshBean
getSigMeshBean(String meshId)
Get SigMeshBean by mesh id. abstract void
createSigMesh(long homeId, ISigMeshCreateCallback callback)
Get necessary parameters from server, such as network key, application key, etc. abstract List<SigMeshBean>
getSigMeshList()
Get all SigMeshBean info in current family from local cache. abstract void
requestSigMeshList(long homeId, IRequestSigMeshListCallback callback)
Get all SigMeshBean info in specified family from server. abstract void
updateSigMesh(List<SigMeshBean> sigMeshBeans)
Replace all local cache. abstract void
onDestroy()
Recycle and destroy resources, such as cache. -
-
Method Detail
-
getSigMeshBean
abstract SigMeshBean getSigMeshBean(String meshId)
Get SigMeshBean by mesh id.
- Parameters:
meshId
- Thing mesh id com.thingclips.smart.sdk.bean.BlueMeshBean
-
createSigMesh
abstract void createSigMesh(long homeId, ISigMeshCreateCallback callback)
Get necessary parameters from server, such as network key, application key, etc.
- Parameters:
homeId
- Thing home idcallback
- call back for result
-
getSigMeshList
abstract List<SigMeshBean> getSigMeshList()
Get all SigMeshBean info in current family from local cache.
-
requestSigMeshList
abstract void requestSigMeshList(long homeId, IRequestSigMeshListCallback callback)
Get all SigMeshBean info in specified family from server.
- Parameters:
homeId
- Thing home idcallback
- Call back for result IRequestSigMeshListCallback
-
updateSigMesh
abstract void updateSigMesh(List<SigMeshBean> sigMeshBeans)
Replace all local cache.
- Parameters:
sigMeshBeans
- List of SigMeshBean SigMeshBean
-
onDestroy
abstract void onDestroy()
Recycle and destroy resources, such as cache.
-
-
-
-