DynamicAudioRouting QML Type
Controls audio routing on Android Automotive devices in QML. More...
|Import Statement:||import QtAndroidAutomotive.Media|
- audioZones : QVector<int>
- bool clearZoneIdForUid(int uid)
- bool isDynamicRoutingEnabled()
- bool isValid()
- bool setZoneIdForUid(int zoneId, int uid)
- int zoneIdForUid(int uid)
Controls audio routing on Android Automotive devices in QML. Audio Routing feature is described in Audio Routing Guidelines.
audioZones : QVector<int>
This property holds all available audio zones on the device.
Clears the active audio zone to the default for the given uid. This request can fail if occupant zone mapping is currently active. Returns
true if successful,
Checks if the system has dynamic routing enabled. Returns
true if feature is enabled, otherwise
For more information, see Enabling AAOS routing.
Checks if required internal JNI objects have been correctly loaded. Returns
true if all required internal JNI objects are valid, otherwise
Sets the app associated with the given uid to use the audio zone defined by the given zoneId. This request can fail if occupant zone mapping is currently active. Returns
true if request was successful,
See also zoneIdForUid().
Returns the zone id currently in use by the given uid, or -1 if the request fails.
See also setZoneIdForUid().
Available under certain Qt licenses.
Find out more.