createSpeakerDeviceWatcher
createSpeakerDeviceWatcher
ConstcreateSpeakerDeviceWatcher():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>>