-
public interface IActionService
Scenario task capability
-
-
Method Summary
Modifier and Type Method Description abstract Unit
getMobileLeftTimes(IResultCallback<<ERROR CLASS>> callback)
Get the remaining times of phone reminders abstract Unit
getSMSLeftTimes(IResultCallback<<ERROR CLASS>> callback)
Get the remaining times of SMS reminders abstract Unit
getAddServiceAll(IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of value-added services abstract Unit
getMobileInfo(String sceneId, IResultCallback<<ERROR CLASS>> callback)
Get phone contact information abstract Unit
getSMSInfo(String sceneId, IResultCallback<<ERROR CLASS>> callback)
Get SMS contact information abstract Unit
getLinkShowLightScene(Long relationId, IResultCallback<<ERROR CLASS><<ERROR CLASS>>> callback)
Get a lighting automation scene abstract Unit
getSupportSecurity(IResultCallback<Boolean> callback)
Whether to support security switch abstract Unit
getActionsExtendList(Long relationId, IResultCallback<List<<ERROR CLASS>>> callback)
Get extend actions abstract Unit
onDestroy()
when destroy -
-
Method Detail
-
getMobileLeftTimes
abstract Unit getMobileLeftTimes(IResultCallback<<ERROR CLASS>> callback)
Get the remaining times of phone reminders
- Parameters:
callback
- callback IResultCallback, ServiceLeftTime
-
getSMSLeftTimes
abstract Unit getSMSLeftTimes(IResultCallback<<ERROR CLASS>> callback)
Get the remaining times of SMS reminders
- Parameters:
callback
- callback IResultCallback, ServiceLeftTime
-
getAddServiceAll
abstract Unit getAddServiceAll(IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of value-added services
- Parameters:
callback
- callback IResultCallback, ServiceInfo
-
getMobileInfo
abstract Unit getMobileInfo(String sceneId, IResultCallback<<ERROR CLASS>> callback)
Get phone contact information
- Parameters:
sceneId
- the id of scenecallback
- callback IResultCallback, VoiceServiceInfo
-
getSMSInfo
abstract Unit getSMSInfo(String sceneId, IResultCallback<<ERROR CLASS>> callback)
Get SMS contact information
- Parameters:
sceneId
- the id of scenecallback
- callback IResultCallback, SMSServiceInfo
-
getLinkShowLightScene
abstract Unit getLinkShowLightScene(Long relationId, IResultCallback<<ERROR CLASS><<ERROR CLASS>>> callback)
Get a lighting automation scene
- Parameters:
relationId
- the relation id of current space nodecallback
- IResultCallback, LinkLightScene
-
getSupportSecurity
abstract Unit getSupportSecurity(IResultCallback<Boolean> callback)
Whether to support security switch
-
getActionsExtendList
abstract Unit getActionsExtendList(Long relationId, IResultCallback<List<<ERROR CLASS>>> callback)
Get extend actions
-
onDestroy
abstract Unit onDestroy()
when destroy
-
-
-
-