// Copyright (C) 2026 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QOHOSMULTIMEDIAUTILS_H
#define QOHOSMULTIMEDIAUTILS_H

#include <QtCore/qglobal.h>
#include <QtCore/qobject.h>
#include <QtOhosExtras/qtohosextrasglobal.h>

QT_BEGIN_NAMESPACE

namespace QtOhosExtras {

namespace Multimedia {

Q_NAMESPACE

enum class AudioStreamUsageHint
{
    Unknown,
    Music,
    VoiceCommunication,
    VoiceAssistant,
    Alarm,
    VoiceMessage,
    Ringtone,
    Notification,
    Accessibility,
    Movie,
    Game,
    Audiobook,
    Navigation,
    VideoCommunication,
};
Q_ENUM_NS(AudioStreamUsageHint)

Q_OHOS_EXTRAS_EXPORT void setAudioStreamUsageHintProperty(QObject *soundEffectOrSound, AudioStreamUsageHint usageHint);
Q_OHOS_EXTRAS_EXPORT bool tryGetAudioStreamUsageHintProperty(QObject *soundEffectOrSound, AudioStreamUsageHint *usageHint);

extern Q_OHOS_EXTRAS_EXPORT const QMetaObject staticMetaObject;

}

}

QT_END_NAMESPACE

#endif
