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 );