top

NServiceDeviceEventInfo

Published 2014-10-28 | (Compatible with SDK 4.5,5.0,5.1 and 2012,2013,2014 models)

Interface NServiceDeviceEventInfo
Constant type Constants
NSERVICE_DEVICE_EVENTS

DEV_EVENT_MESSAGE_RECEIVED

  • Number
  • message recieved from smart device

DEV_EVENT_JOINED_GROUP

  • Number
  • smart device joined group

DEV_EVENT_LEFT_GROUP

  • Number
  • smart device left group
Attribute Description
Number eventType Type information of event. One of DEVICE_EVENTS types.
DOMString eventData Event type specific data. This can assume either of NServiceDeviceMessageInfo or NServiceDeviceGroupInfo type depending on infoType.