Package 

Interface IBlueMeshManager

    • Method Summary

      Modifier and Type Method Description
      abstract BlueMeshBean getBlueMeshBean(String meshId) Get BlueMeshBean by mesh id.
      abstract void createBlueMesh(long homeId, String meshName, IBlueMeshCreateCallback callback) Get necessary parameters from server, such as network key, application key, etc.
      abstract List<BlueMeshBean> getBlueMeshList() Get all BlueMeshBean info in current family from local cache.
      abstract void requestMeshList(long homeId, IRequestMeshListCallback callback) Get all BlueMeshBean info in specified family from server.
      abstract void requestUpgradeInfo(String devId, IRequestUpgradeInfoCallback callback) Query device firmware upgrade information from server.
      abstract void updateBuleMesh(List<BlueMeshBean> blueMeshBeans) Replace all local cache.
      abstract String parseVenderIdFromDp(Set dps, String pcc) Get vendor id from dps.If the dps corresponding to the vendor id in pcc contains the parameter dps, then return this vendor id, elsereturn the first vendor id in pcc.
      abstract DpsParseBean getThingMeshParseBean(String value, String dpId) Get opCode and parameter by vendor id and dp id.
      abstract void onDestroy() Recycle and destroy resources, such as cache.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait