1e41f4b71Sopenharmony_ci# @ohos.bluetooth.constant (蓝牙constant模块)(系统接口)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciconstant模块提供了蓝牙中常量的定义。
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **说明:**
6e41f4b71Sopenharmony_ci>
7e41f4b71Sopenharmony_ci> 本模块首批接口从API version 10开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
8e41f4b71Sopenharmony_ci> 当前页面仅包含本模块的系统接口,其他公开接口参见[@ohos.bluetooth.constant (蓝牙constant模块)](js-apis-bluetooth-constant.md)
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ci## 导入模块
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci```js
13e41f4b71Sopenharmony_ciimport { constant } from '@kit.ConnectivityKit';
14e41f4b71Sopenharmony_ci```
15e41f4b71Sopenharmony_ci
16e41f4b71Sopenharmony_ci## AccessAuthorization<sup>11+</sup>
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci枚举,访问权限。
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ci**系统接口:** 此接口为系统接口。
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci**系统能力**:SystemCapability.Communication.Bluetooth.Core23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci| 名称                 | 值  | 说明     |
25e41f4b71Sopenharmony_ci| ------------------ | ---- | ------ |
26e41f4b71Sopenharmony_ci| UNKNOWN<sup>11+</sup> | 0    | 未知。<br/>此接口为系统接口。  |
27e41f4b71Sopenharmony_ci| ALLOWED<sup>11+</sup> | 1    | 允许。<br/>此接口为系统接口。  |
28e41f4b71Sopenharmony_ci| REJECTED<sup>11+</sup> | 2    | 拒绝。<br/>此接口为系统接口。 |