createSpeakerDeviceWatcher

View as Markdown

createSpeakerDeviceWatcher

  • Const createSpeakerDeviceWatcher(): Promise<EventEmitter<DeviceWatcherEvents, any>>

Asynchronously returns an event emitter that notifies changes in all speaker devices. This is equivalent to calling createDeviceWatcher({ targets: ['speaker'] }), so refer to createDeviceWatcher for additional information about the returned event emitter.

Returns

Promise<EventEmitter<DeviceWatcherEvents, any>>