-
public interface IThingWifiGroup
The interface provides wifi group-related operations, including group creation, device query, and addition.
-
-
Method Summary
Modifier and Type Method Description abstract void
createWifiGroup(long homeId, String name, List<String> devIds, IThingResultCallback<Long> callback)
Create wifi group. abstract void
createWifiGroup(long homeId, String name, String productId, List<String> devIds, IThingResultCallback<Long> callback)
Create wifi group. abstract void
queryWifiGroupDeviceList(long homeId, String productId, long groupId, IThingResultCallback<List<GroupDeviceBean>> callback)
Query the devices in the wifi group. abstract void
saveDevicesToWifiGroup(long homeId, List<String> devIds, long groupId, IThingResultCallback<Boolean> callback)
Add devices to wifi group. abstract void
queryDeviceListToAddGroup(long gid, long groupId, String productId, IThingResultCallback<List<GroupDeviceBean>> callback)
query all devices that can make up a group -
-
Method Detail
-
createWifiGroup
@Deprecated() abstract void createWifiGroup(long homeId, String name, List<String> devIds, IThingResultCallback<Long> callback)
Create wifi group.
- Parameters:
homeId
- the home idname
- the namedevIds
- the list of device idcallback
- the callback IThingResultCallback
-
createWifiGroup
abstract void createWifiGroup(long homeId, String name, String productId, List<String> devIds, IThingResultCallback<Long> callback)
Create wifi group.
- Parameters:
homeId
- the home idname
- the nameproductId
- the product iddevIds
- the list of device idcallback
- the callback IThingResultCallback
-
queryWifiGroupDeviceList
abstract void queryWifiGroupDeviceList(long homeId, String productId, long groupId, IThingResultCallback<List<GroupDeviceBean>> callback)
Query the devices in the wifi group.
- Parameters:
homeId
- the home idproductId
- the product idgroupId
- the group idcallback
- the callback IThingResultCallback
-
saveDevicesToWifiGroup
abstract void saveDevicesToWifiGroup(long homeId, List<String> devIds, long groupId, IThingResultCallback<Boolean> callback)
Add devices to wifi group.
- Parameters:
homeId
- the home iddevIds
- the list of device idgroupId
- the group idcallback
- the callback IThingResultCallback
-
queryDeviceListToAddGroup
abstract void queryDeviceListToAddGroup(long gid, long groupId, String productId, IThingResultCallback<List<GroupDeviceBean>> callback)
query all devices that can make up a group
- Parameters:
gid
- home id or group idgroupId
- group idproductId
- product idcallback
- the callback IThingResultCallback
-
-
-
-