Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohosbluetoothcommon_p.h File Reference

(9abaebd8ff9095f753a0eea41f5d241f3de5d466)

#include <QtBluetooth/private/qohosbluetoothenums_p.h>
#include <QtCore/qtconfigmacros.h>
#include <QtCore/private/qcore_ohos_p.h>
#include <cstdint>
#include <optional>
Include dependency graph for qohosbluetoothcommon_p.h:
This graph shows which files directly or indirectly include this file:

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)