|  | Home · All Classes · Modules

# Phonon.BackendCapabilities Class Reference
[phonon module]

The BackendCapabilities namespace contains functions to describe the capabilities of the multimedia backend. More...

### Types

- class Notifier

### Static Methods

- QList<Phonon::AudioCaptureDevice>list-of-Phonon.AudioCaptureDevice availableAudioCaptureDevices ()
- QList<Phonon::EffectDescription>list-of-Phonon.EffectDescription availableAudioEffects ()
- QList<Phonon::AudioOutputDevice>list-of-Phonon.AudioOutputDevice availableAudioOutputDevices ()
- QStringListQStringList availableMimeTypes ()
- bool isMimeTypeAvailable (QStringQString)
- Notifier notifier ()

## Detailed Description

The BackendCapabilities namespace contains functions to describe the capabilities of the multimedia backend.

## Method Documentation

### QList<Phonon::AudioCaptureDevice>list-of-Phonon.AudioCaptureDevice BackendCapabilities.availableAudioCaptureDevices ()

### QList<Phonon::EffectDescription>list-of-Phonon.EffectDescription BackendCapabilities.availableAudioEffects ()

Returns descriptions for the audio effects the backend supports.

Returns A list of AudioEffectDescription objects that give a name and description for every supported audio effect.

### QList<Phonon::AudioOutputDevice>list-of-Phonon.AudioOutputDevice BackendCapabilities.availableAudioOutputDevices ()

Returns the audio output devices the backend supports.

Returns A list of AudioOutputDevice objects that give a name and description for every supported audio output device.

### QStringListQStringList BackendCapabilities.availableMimeTypes ()

Returns a list of mime types that the Backend can decode.

See also isMimeTypeAvailable().

### bool BackendCapabilities.isMimeTypeAvailable (QStringQString)

Often all you want to know is whether one given MIME type can be decoded by the backend. Use this method in favor of availableMimeTypes() as it can give you a negative answer without having a backend loaded.

Returns true if the given mimeType is supported by the backend; otherwise, returns false.

See also availableMimeTypes().

### Notifier BackendCapabilities.notifier ()

Use this function to get a QObject pointer to connect to the capabilitiesChanged signal.

Returns a pointer to a QObject.

The capabilitiesChanged signal is emitted if the capabilities have changed. This can happen if the user has requested a backend change.

To connect to this signal do the following:

     QObject.connect(BackendCapabilities.notifier(), SIGNAL(capabilitiesChanged()), ...

See also Notifier.capabilitiesChanged().