VtWord

vt words handler

Constructor

new VtWord()

Extends

Methods

getUrlMap() → {object}

get the url handler object

Overrides:
Returns:
Type:
object

url map

ready(cloudgwConfig)

ready for cloudgw

Overrides:
Parameters:
Name Type Description
cloudgwConfig object

onVtWordSwitchStatusChanged(queryObj)

handle the url of 'vt_words'

Parameters:
Name Type Description
queryObj object

sendAddUpdateStatusToServer(queryObj)

call the cloud api: addOrUpdateDeviceInfo

Parameters:
Name Type Description
queryObj object

sendDeleteStatusToServer(queryObj)

call the cloud api: sendDeleteStatusToServer

Parameters:
Name Type Description
queryObj object

sendSuccessStatusToApp(queryObj, setStatus)

call the wormhole to send success message to app

Parameters:
Name Type Description
queryObj object
setStatus boolean

result for operating

getIntentMap() → {null}

intent map getter

Inherited From:
Returns:
Type:
Null

return null by default

reload()

reload

Inherited From: