Struct libpulse_binding::context::ext_device_restore::DeviceRestore [] [src]

pub struct DeviceRestore {
    pub context: *mut ContextInternal,
    // some fields omitted
}

A wrapper object providing device restore routines to a context.

Fields

Methods

impl DeviceRestore
[src]

[src]

Create a new DeviceManager from an existing ContextInternal pointer.

[src]

Create a new DeviceManager from an existing ContextInternal pointer. This is the 'weak' version, for use in callbacks, which avoids destroying the internal object when dropped.

[src]

Test if this extension module is available in the server.

[src]

Subscribe to changes in the device database.

[src]

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

[src]

Read the formats for all present devices from the device database.

[src]

Read an entry from the device database.

[src]

Read an entry from the device database.

Trait Implementations

impl Drop for DeviceRestore
[src]

[src]

Executes the destructor for this type. Read more