openharmony 鸿蒙 js-apis-bluetooth-constant-sys

2025-06-12 浏览 (1)

@ohos.bluetooth.constant (Bluetooth constant Module) (System API)

The constant module provides definitions of the constants used in Bluetooth.

NOTE

The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version. This topic describes only the system APIs provided by the module. For details about its public APIs, see @ohos.bluetooth.constant (Bluetooth constant Module).

Modules to Import

import { constant } from '@kit.ConnectivityKit';

AccessAuthorization11+

Enumerates the access permissions.

System API: This is a system API.

System capability: SystemCapability.Communication.Bluetooth.Core

NameValueDescription
UNKNOWN11+0Unknown.
This is a system API.
ALLOWED11+1Access allowed.
This is a system API.
REJECTED11+2Access rejected.
This is a system API.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Connectivity Kit (Short-Range Communication Service)

harmony 鸿蒙Bluetooth

harmony 鸿蒙Wifi

harmony 鸿蒙Bluetooth Error Codes

harmony 鸿蒙NFC Error Codes

harmony 鸿蒙SecureElement Error Codes

harmony 鸿蒙Wi-Fi Error Codes

harmony 鸿蒙@ohos.bluetooth.a2dp (Bluetooth A2DP Module) (System API)

harmony 鸿蒙@ohos.bluetooth.a2dp (Bluetooth A2DP Module)

harmony 鸿蒙@ohos.bluetooth.access (Bluetooth Access Module) (System API)

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/K8TNw7