Struct libpulse_binding::context::ext_device_manager::DeviceManager[][src]

pub struct DeviceManager { /* fields omitted */ }

A wrapper object providing device manager routines to a context. Note: Saves a copy of active multi-use closure callbacks, which it frees on drop.

Methods

impl DeviceManager
[src]

Test if this extension module is available in the server.

Read all entries from the device database.

Sets the description for a device.

The callback must accept a bool, which indicates success.

Delete entries from the device database.

The callback must accept a bool, which indicates success.

Enable the role-based device-priority routing mode.

The callback must accept a bool, which indicates success.

Prefer a given device in the priority list.

The callback must accept a bool, which indicates success.

Subscribe to changes in the device database.

The callback must accept a bool, which indicates success.

Set the subscription callback that is called when subscribe was called.

Trait Implementations

impl Drop for DeviceManager
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for DeviceManager

impl !Sync for DeviceManager