ThingsEvent

A class that represents the event of things event.
extends LINE\LINEBot\Event\BaseEvent
Methods Summary
public
# __construct( array $event )
ThingsEvent constructor.

Overrides

public
# getDeviceId( )
Gets the device ID
public
# getThingsEventType( )
Returns the things event type.
public
# getScenarioResult( )
Returns the things event result.
Methods inherited from LINE\LINEBot\Event\BaseEvent
__construct(), getType(), getMode(), getTimestamp(), getReplyToken(), isUserEvent(), isGroupEvent(), isRoomEvent(), isUnknownEvent(), getUserId(), getGroupId(), getRoomId(), getEventSourceId()
Constants Summary
public string TYPE_DEVICE_LINKED
# 'link'
public string TYPE_DEVICE_UNLINKED
# 'unlink'
public string TYPE_SCENARIO_RESULT
# 'scenarioResult'
Properties inherited from LINE\LINEBot\Event\BaseEvent
$event