![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtBluetooth/private/qohosbluetoothenums_p.h>#include <QtCore/qtconfigmacros.h>#include <QtCore/private/qcore_ohos_p.h>#include <cstdint>#include <optional>Go to the source code of this file.
Namespaces | |
| namespace | QtOhosBluetooth |
Enumerations | |
| enum class | QtOhosBluetooth::QOhosBluetoothErrorCode : std::uint32_t { QtOhosBluetooth::PermissionDenied = 201 , QtOhosBluetooth::InvalidParameter = 401 , QtOhosBluetooth::CapabilityNotSupported = 801 , QtOhosBluetooth::ServiceStopped = 2900001 , QtOhosBluetooth::BluetoothDisabled = 2900003 , QtOhosBluetooth::ProfileNotSupported = 2900004 , QtOhosBluetooth::UserDidNotRespond = 2900013 , QtOhosBluetooth::UserRefused = 2900014 , QtOhosBluetooth::OperationFailed = 2900099 , QtOhosBluetooth::InputOutput = 2901054 } |
Functions | |
| std::optional< QOhosBluetoothErrorCode > | QtOhosBluetooth::tryGetKnownErrorCode (const QNapi::Value &errorValue, const char *callerContextName) |
| bool | QtOhosBluetooth::checkAccessBluetoothPermissionGranted (const char *callerContextName) |
| std::optional< QtOhosBluetooth::enums::ohos::bluetooth::access::BluetoothState > | QtOhosBluetooth::readBluetoothState (QOhosJsState &jsState) |
| bool | QtOhosBluetooth::isBluetoothEnabled (QOhosJsState &jsState) |