-
public interface IMultiModeActivator
Interface activator of multi-mode device.
-
-
Method Summary
Modifier and Type Method Description abstract void
startActivator(MultiModeActivatorBean multiModeActivatorBean, IMultiModeActivatorListener listener)
Start Activator. abstract void
startBleActivator(MultiModeActivatorBean multiModeActivatorBean, IMultiModeActivatorListener listener)
Start Bluetooth activation of multi-mode device abstract void
startWifiEnable(MultiModeActivatorBean multiModeActivatorBean, IMultiModeActivatorListener listener)
Start WiFi Enable abstract void
changeZigBeeSubToOldModel(MultiModeActivatorBean multiModeActivatorBean, IResultCallback callback)
Change sub-device of zigBee to old model. abstract void
stopActivator(String uuid)
Stop Activator. abstract int
resumeActivator(ResumeActivatorBean multiModeActivatorBean)
abstract void
startOptimizationActivator(MultiModeActivatorBuilder activatorBuilder, IMultiModeActivatorListener listener)
Start Activator. abstract void
queryDeviceConfigState(MultiModeQueryBuilder queryBuilder, IThingResultCallback<List<WiFiInfo>> callback)
query device state and wifi list for (before activator device)if After calling this api, you don't want to deal with anything, or want to cancelplease call stopActivator to release source abstract void
resetDevice(String uuid)
reset device -
-
Method Detail
-
startActivator
abstract void startActivator(MultiModeActivatorBean multiModeActivatorBean, IMultiModeActivatorListener listener)
Start Activator.
- Parameters:
multiModeActivatorBean
- info required for activatorlistener
- listener for activator
-
startBleActivator
abstract void startBleActivator(MultiModeActivatorBean multiModeActivatorBean, IMultiModeActivatorListener listener)
Start Bluetooth activation of multi-mode device
- Parameters:
multiModeActivatorBean
- info required for activatorlistener
- listener for activator
-
startWifiEnable
abstract void startWifiEnable(MultiModeActivatorBean multiModeActivatorBean, IMultiModeActivatorListener listener)
Start WiFi Enable
- Parameters:
multiModeActivatorBean
- info required for wifi enablelistener
- listener for wifi enable
-
changeZigBeeSubToOldModel
abstract void changeZigBeeSubToOldModel(MultiModeActivatorBean multiModeActivatorBean, IResultCallback callback)
Change sub-device of zigBee to old model.
- Parameters:
multiModeActivatorBean
- Info required.callback
- Callback.
-
stopActivator
abstract void stopActivator(String uuid)
Stop Activator.
- Parameters:
uuid
- uuid of ble device
-
resumeActivator
abstract int resumeActivator(ResumeActivatorBean multiModeActivatorBean)
-
startOptimizationActivator
abstract void startOptimizationActivator(MultiModeActivatorBuilder activatorBuilder, IMultiModeActivatorListener listener)
Start Activator.
- Parameters:
activatorBuilder
- info required for activatorlistener
- listener for activator
-
queryDeviceConfigState
abstract void queryDeviceConfigState(MultiModeQueryBuilder queryBuilder, IThingResultCallback<List<WiFiInfo>> callback)
query device state and wifi list for (before activator device)if After calling this api, you don't want to deal with anything, or want to cancelplease call stopActivator to release source
-
resetDevice
abstract void resetDevice(String uuid)
reset device
- Parameters:
uuid
- need reset device's uuid
-
-
-
-