-
public interface IThingBeaconManagerBeacon operate manager. Provide basic ability of Thing's Beacon
-
-
Method Summary
Modifier and Type Method Description abstract booleanisBeaconLocalOnline(String devId)Get thing's Beacon Device online status. abstract voidpublishDps(String devId, String dps, IResultCallback callback)send data points to device by beacon advertising abstract voidpublishGroupDps(long groupId, String dps, IResultCallback callback)send data points to beacon group by beacon advertising abstract voidaddDevice(String devId, long groupId, IResultCallback callback)Add device to group. abstract voiddeleteDevice(String devId, long groupId, IResultCallback callback)delete device from this group. abstract voiddismissGroup(long groupId)Dismiss the group. abstract voidresetFactoryLocal(DeviceBean deviceBean, IResultCallback callback)Restore the factory equipment abstract voidqueryDevicesStatus(List<String> devIdList, IResultCallback callback)query whether the device is online abstract voidstartScanBeacon(List<String> devIds)abstract voidstopScanBeacon(List<String> devIds)abstract voidupdateDeviceOnlineStatus(String devId, boolean isOnline)abstract voidregisterAuthListener(IThingResultCallback<BeaconAuthBean> listener)abstract voidunregisterAuthListener(IThingResultCallback<BeaconAuthBean> listener)abstract voidsendBeaconAuth(BeaconAuthBean authBean, IResultCallback callback)abstract voidupdateBeaconMesh(List<BeaconMeshBean> beaconMeshBeans)abstract voidupdateBeaconDpsToCacheAndNotify(String devId, String dps)abstract voidupdateBeaconGroupDpsToCacheAndNotify(long groupId, String dps)abstract voidstartBatchExecution(List<BatchExecutionDps> batchExecutionDpsList, int retryCount)-
-
Method Detail
-
isBeaconLocalOnline
abstract boolean isBeaconLocalOnline(String devId)
Get thing's Beacon Device online status.
- Parameters:
devId- the device Id
-
publishDps
abstract void publishDps(String devId, String dps, IResultCallback callback)
send data points to device by beacon advertising
- Parameters:
devId- the device Iddps- Data pointscallback- IResultCallback
-
publishGroupDps
abstract void publishGroupDps(long groupId, String dps, IResultCallback callback)
send data points to beacon group by beacon advertising
- Parameters:
groupId- the group iddps- Data pointscallback- IResultCallback
-
addDevice
abstract void addDevice(String devId, long groupId, IResultCallback callback)
Add device to group.
- Parameters:
devId- the device idgroupId- the group idcallback- the callback IResultCallback
-
deleteDevice
abstract void deleteDevice(String devId, long groupId, IResultCallback callback)
delete device from this group.
- Parameters:
devId- the device idgroupId- the group idcallback- Callback result success or failure.
-
dismissGroup
abstract void dismissGroup(long groupId)
Dismiss the group.
- Parameters:
groupId- the group id
-
resetFactoryLocal
abstract void resetFactoryLocal(DeviceBean deviceBean, IResultCallback callback)
Restore the factory equipment
- Parameters:
deviceBean- device mode DeviceBeancallback- IResultCallback
-
queryDevicesStatus
abstract void queryDevicesStatus(List<String> devIdList, IResultCallback callback)
query whether the device is online
- Parameters:
devIdList- the beacon deviceIdcallback- Call method result,Not query result
-
startScanBeacon
abstract void startScanBeacon(List<String> devIds)
-
stopScanBeacon
abstract void stopScanBeacon(List<String> devIds)
-
updateDeviceOnlineStatus
abstract void updateDeviceOnlineStatus(String devId, boolean isOnline)
-
registerAuthListener
abstract void registerAuthListener(IThingResultCallback<BeaconAuthBean> listener)
-
unregisterAuthListener
abstract void unregisterAuthListener(IThingResultCallback<BeaconAuthBean> listener)
-
sendBeaconAuth
abstract void sendBeaconAuth(BeaconAuthBean authBean, IResultCallback callback)
-
updateBeaconMesh
abstract void updateBeaconMesh(List<BeaconMeshBean> beaconMeshBeans)
-
updateBeaconDpsToCacheAndNotify
abstract void updateBeaconDpsToCacheAndNotify(String devId, String dps)
-
updateBeaconGroupDpsToCacheAndNotify
abstract void updateBeaconGroupDpsToCacheAndNotify(long groupId, String dps)
-
startBatchExecution
abstract void startBatchExecution(List<BatchExecutionDps> batchExecutionDpsList, int retryCount)
-
-
-
-