Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QAudioStateInfo class provides a point of access to information about an audio state. More...
#include <QAudioStateInfo>
The QAudioStateInfo class provides a point of access to information about an audio state.
Hardware audio devices support a discrete set of audio device configurations. For instance, using the Bluetooth Headset and routing all phone call information to and from the headset can be considered an audio state.
The QAudioStateInfo is used to enumerate the attributes and of of a particular audio state. The Audio Domain that this state belongs to can be found by calling domain(). The profile name can be discovered by calling profile(). Finally a translated name suitable for display can be found by using the displayName() function. The priority for this state can be found using priority().
See also QAudioStateConfiguration.
Constructs a new valid Audio State Info. The Audio Domain is set to domain. The profile name is given by profile. The display name is set to displayName. The priority is given by priority.
See also isValid().
Constructs a new invalid Audio State Info object.
See also isValid().
Constructs a new Audio State Info from the contents of other.
See also isValid().
Destroys an Audio State Info.
Returns a translated string that describes this audio state suitable for display. E.g. for instance "Bluetooth Headset" or "Headphones".
See also setDisplayName().
Returns the Audio Domain Info for this state.
See also setDomain().
Returns true whether this Audio State is valid. If the object is not valid, information returned should not be relied upon.
Returns the priority for this Audio State. The value of 0 has the highest priority, while the value of MAX_INT has the lowest priority.
If the object is not valid, returns -1.
See also setPriority() and isValid().
Returns the profile name for this state.
See also setProfile().
Sets the translated display name for this state to displayName.
If you call this function for an invalid audio state, this function turns it into a valid one.
See also displayName() and isValid().
Sets the Audio Domain for this state to domain.
If you call this function for an invalid audio state, this function turns it into a valid one.
See also domain() and isValid().
Sets the priority of the audio state to priority.
If you call this function for an invalid audio state, this function turns it into a valid one.
See also priority().
Sets the profile name for this state to profile.
If you call this function for an invalid audio state, this function turns it into a valid one.
See also profile() and isValid().
Returns true if the contents of other are not equal to the contents of the current object.
See also operator==().
Assign the contents of other to the current audio state.
See also isValid().
Returns true if the contents of other are equal to the contents of the current object.
See also operator!=().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |