-
public interface IActionServiceScenario task capability
-
-
Method Summary
Modifier and Type Method Description abstract UnitgetMobileLeftTimes(IResultCallback<<ERROR CLASS>> callback)Get the remaining times of phone reminders abstract UnitgetSMSLeftTimes(IResultCallback<<ERROR CLASS>> callback)Get the remaining times of SMS reminders abstract UnitgetAddServiceAll(IResultCallback<List<<ERROR CLASS>>> callback)Get a list of value-added services abstract UnitgetMobileInfo(String sceneId, IResultCallback<<ERROR CLASS>> callback)Get phone contact information abstract UnitgetSMSInfo(String sceneId, IResultCallback<<ERROR CLASS>> callback)Get SMS contact information abstract UnitgetLinkShowLightScene(Long relationId, IResultCallback<<ERROR CLASS><<ERROR CLASS>>> callback)Get a lighting automation scene abstract UnitgetSupportSecurity(IResultCallback<Boolean> callback)Whether to support security switch abstract UnitgetActionsExtendList(Long relationId, IResultCallback<List<<ERROR CLASS>>> callback)Get extend actions abstract UnitonDestroy()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
-
-
-
-