C
Qt Android Automotive Media Module
This module enables you to utilize features which are native to Android and Android Automotive OS for controlling media, such as media sessions. It leverages Qt Multimedia to help you with vehicle entertainment and UI interaction sounds.
Using the module
Using a Qt module requires linking against the module library, either directly or through other dependencies.
C++ API
To include the definitions of the module's classes, use the following directive for C++:
find_package(Qt6 REQUIRED COMPONENTS AndroidAutomotiveMedia)
target_link_libraries(mytarget PUBLIC Qt6::AndroidAutomotiveMedia)
QML API
To use the QML types in Qt Android Automotive Media, add the following import statement to your qml file:
import QtAndroidAutomotive.Media
Permissions
Some of the APIs in the module need Android permissions to function properly. For more details, see Permissions in Qt Android Automotive Media Module.
API Reference
Examples
Implements an Audio Routing Controller. | |
Demonstrates media session API usage. |
Available under certain Qt licenses.
Find out more.