-
public interface IThingMatterFabricManagerCreated by huguang on 06-07-2022
-
-
Method Summary
Modifier and Type Method Description abstract booleanfabricExist(long gid)abstract voidinitFabric(Context context, long gid, IThingDataCallback<OpenFabricInfo> callback)abstract voidgetDevicesFabricNodes(Set<String> devIds, IThingDataCallback<ArrayList<DeviceNodeBean>> listener)获取设备在 Fabric 下的节点信息 abstract voidloadDeviceFabricNodesFormStorage(Set<String> devIds, IThingDataCallback<ArrayList<DeviceNodeBean>> listener)从磁盘加载设备 Fabric 节点信息 abstract voidwriteAccessControlList(String devId, IThingResultCallback<Boolean> callback)向设备写入ACL abstract voidnotifyAccessControlList(String devId, IThingResultCallback<Boolean> callback)通知设备从云端获取nodeId -
-
Method Detail
-
fabricExist
abstract boolean fabricExist(long gid)
-
initFabric
abstract void initFabric(Context context, long gid, IThingDataCallback<OpenFabricInfo> callback)
-
getDevicesFabricNodes
abstract void getDevicesFabricNodes(Set<String> devIds, IThingDataCallback<ArrayList<DeviceNodeBean>> listener)
获取设备在 Fabric 下的节点信息
- Parameters:
devIds- device ids 所有设备的设备id列表listener- listener
-
loadDeviceFabricNodesFormStorage
abstract void loadDeviceFabricNodesFormStorage(Set<String> devIds, IThingDataCallback<ArrayList<DeviceNodeBean>> listener)
从磁盘加载设备 Fabric 节点信息
-
writeAccessControlList
abstract void writeAccessControlList(String devId, IThingResultCallback<Boolean> callback)
向设备写入ACL
- Parameters:
devId- 设备idcallback- callback
-
notifyAccessControlList
abstract void notifyAccessControlList(String devId, IThingResultCallback<Boolean> callback)
通知设备从云端获取nodeId
- Parameters:
devId- 设备idcallback- callback
-
-
-
-