StandbyLight

standby light handler

Constructor

new StandbyLight()

Extends

Methods

getIntentMap() → {object}

get intent map

Overrides:
Returns:
Type:
object

intent map

getUrlMap() → {object}

get url map

Overrides:
Returns:
Type:
object

url map

initStandbyLight()

init the standby light

onStandbyLightSwitchStatusChanged(queryObj)

handler of the skill url

Parameters:
Name Type Description
queryObj object

applyStandbyLightSwitch(isFromIntent, action, isFirstLoad)

handler of the intent

Parameters:
Name Type Description
isFromIntent boolean
action string
isFirstLoad boolean

ready(cloudgwConfig)

ready for cloudgw

Overrides:
Parameters:
Name Type Description
cloudgwConfig object

reload()

reload

Overrides: