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.cpp File Reference

(9abaebd8ff9095f753a0eea41f5d241f3de5d466)

#include "qohosbluetoothcommon_p.h"
#include <QtBluetooth/private/qohosbluetoothenums_p.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qpermissions.h>
#include <QtCore/qstring.h>
#include <QtCore/private/qnapi_p.h>
#include <QtCore/private/qohoscommon_p.h>
#include <QtCore/private/qohoslogger_p.h>
#include <optional>
Include dependency graph for qohosbluetoothcommon.cpp:

Go to the source code of this file.

Namespaces

namespace  QtOhosBluetooth

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)