Methods
say(text, opts, callback)
Let Homey say something. There is a limit of 255 characters.
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| text | string | The sentence to say | ||||||
| opts | Object | 
 | ||||||
| callback | genericCallbackFunction | 
Returns:
Promise
Example
const Homey = require('homey');
Homey.ManagerSpeechOutput.say('Hello world!')
   .then( this.log )
   .catch( this.error ); You are currently viewing the Homey Apps SDK v2 documentation. New apps should use Homey Apps SDK v3 ››
      You are currently viewing the Homey Apps SDK v2 documentation. New apps should use Homey Apps SDK v3 ››