-
public interface IThingLightningActivator
Lightning device activation operation interface class.
-
-
Method Summary
Modifier and Type Method Description abstract void
startSearch(List<String> devIds, long serverTimeout, long clientTimeout, IThingLightningSearchListener listener)
Start searching for lightning devices. abstract void
stopSearch()
Stop searching for lightning devices. abstract void
cancel(List<LightningSearchBean> lightningSearchBeanList)
Cancel the searched device to make it exit the lightning state. abstract void
startActive(ThingLightningDevActivatorBuilder builder)
Start activation. abstract void
stopActive()
Stop activation. -
-
Method Detail
-
startSearch
abstract void startSearch(List<String> devIds, long serverTimeout, long clientTimeout, IThingLightningSearchListener listener)
Start searching for lightning devices.
- Parameters:
devIds
- List of activated lightning devices.serverTimeout
- Activated device timeout.clientTimeout
- Inactive device timeout.listener
- Callback.
-
stopSearch
abstract void stopSearch()
Stop searching for lightning devices.
-
cancel
abstract void cancel(List<LightningSearchBean> lightningSearchBeanList)
Cancel the searched device to make it exit the lightning state.
-
startActive
abstract void startActive(ThingLightningDevActivatorBuilder builder)
Start activation. com.thingclips.smart.home.sdk.builder.ThingLightningDevActivatorBuilder
-
stopActive
abstract void stopActive()
Stop activation.
-
-
-
-