Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QAudioState class encapsulates an audio device state. More...
#include <QAudioState>
Inherits QObject.
The QAudioState class encapsulates an audio device state.
The QAudioState class can be used to implement a particular state for a hardware audio device. For instance, a state where the output of the phone modem is routed to the earphones.
Creates a new Audio State object with QObject parent set to parent.
Destroys an Audio State object.
This signal is emitted by the audio state whenever the availability state has changed. The new availability is given by available. For instance, the headset might have been plugged in and is now available for use.
See also isAvailable().
Returns the capabilities that this audio state supports.
See also info().
This signal is emitted by the audio state whenever it has received a hint that it should no longer be used. For instance, this could be a user-initiated action from the hardware device (e.g. Bluetooth multi-function button pressed).
See also useHint().
Asks the audio state object to enter its supported audio state with capability.
The function returns true if the state transition could be performed.
See also leave() and capabilities().
Returns the information about the audio state.
See also capabilities() and QAudioStateInfo.
Returns true whether the state is available. E.g. Bluetooth state is only available if the Bluetooth headset is plugged in.
See also availabilityChanged().
Asks the audio state object to leave its supported audio state.
The function returns true if the state transition could be performed.
See also enter().
This signa is emitted by the audio state whenever it has received a hint that it should be the state being used.
See also doNotUseHint().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |