PairSession

PairSession is returned by Driver#onPair. PairSession#setHandler accepts async functions that can receive and respond to messages from the pair view.

Table of Contents

Constructor

new Homey.PairSession()

Library:

Methods

setHandler(event, handler)

Register a handler for an event

Parameters:
Name Type Description
event string
handler PairSessionHandler