class DevicePresenceWatcher

Defined at line 16 of file ../../src/media/audio/services/device_registry/device_presence_watcher.h

This subset of the larger parent-class interface (AudioDeviceRegistry) is the minimal API set

necessary to test the Device class.

Public Methods

void DeviceIsReady (std::shared_ptr<media_audio::Device> device)

Called when a device successfully completes initialization and is ready to be configured.

void DeviceHasError (std::shared_ptr<media_audio::Device> device)

Called if a device encountered an error at any time (including self-reporting as unhealthy).

void DeviceIsRemoved (std::shared_ptr<media_audio::Device> device)

Called when a device is entirely removed (such as a USB surprise-remove).

void ~DevicePresenceWatcher ()

Defined at line 18 of file ../../src/media/audio/services/device_registry/device_presence_watcher.h