You are currently viewing the Homey Apps SDK v2 documentation. New apps should use Homey Apps SDK v3 ››

Homey.ManagerRF

const { ManagerRF } = require('homey');

Table of Contents

Methods

registerSignal(signalInstance, callbackopt) → {Promise}

Register a Signal instance, to send and receive events.

Parameters:
Name Type Attributes Description
signalInstance Signal
callback function <optional>
Name Type Description
err Error
signal Signal
Returns:
Type:
Promise

unregisterSignal(signalInstance, callbackopt) → {Promise}

Unregister a Signal instance, to send and receive events.

Parameters:
Name Type Attributes Description
signalInstance Signal
callback genericCallbackFunction <optional>
Returns:
Type:
Promise