harmony 鸿蒙@ohos.bluetooth.constant (Bluetooth constant Module) (System API)
@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
Name | Value | Description |
---|---|---|
UNKNOWN11+ | 0 | Unknown. This is a system API. |
ALLOWED11+ | 1 | Access allowed. This is a system API. |
REJECTED11+ | 2 | Access rejected. This is a system API. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Connectivity Kit (Short-Range Communication Service)
harmony 鸿蒙Bluetooth Error Codes
harmony 鸿蒙SecureElement 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)
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦