/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-bluetooth-baseProfile.md | 18 ## ProfileConnectionState section 20 type ProfileConnectionState = constant.ProfileConnectionState 28 | [constant.ProfileConnectionState](js-apis-bluetooth-constant.md#profileconnectionstate) | 蓝牙设备的pr… 40 | state | [ProfileConnectionState](js-apis-bluetooth-constant.md#profileconnectionstate) … 105 getConnectionState(deviceId: string): ProfileConnectionState 123 | [ProfileConnectionState](js-apis-bluetooth-constant.md#profileconnectionstate) | 返回profile的连接状态。 |
|
H A D | js-apis-bluetooth-connection.md | 18 ## ProfileConnectionState section 20 type ProfileConnectionState = constant.ProfileConnectionState 28 | [constant.ProfileConnectionState](js-apis-bluetooth-constant.md#profileconnectionstate) | 蓝牙设备的pr… 511 getProfileConnectionState(profileId?: ProfileId): ProfileConnectionState 529 | [ProfileConnectionState](js-apis-bluetooth-constant.md#profileconnectionstate) | profile的连接状态。 | 551 …let result: connection.ProfileConnectionState = connection.getProfileConnectionState(constant.Prof…
|
H A D | js-apis-bluetooth.md | 124 getBtConnectionState(): ProfileConnectionState 139 | [ProfileConnectionState](#profileconnectionstatedeprecated) | 表示蓝牙设备的Profile连接状态。 | 144 let connectionState : bluetooth.ProfileConnectionState = bluetooth.getBtConnectionState(); 215 getProfileConnState(profileId: ProfileId): ProfileConnectionState 236 | [ProfileConnectionState](#profileconnectionstatedeprecated) | profile的连接状态。 | 1374 getDeviceState(device: string): ProfileConnectionState 1395 | [ProfileConnectionState](#profileconnectionstatedeprecated) | 返回profile的连接状态。 | 1401 let ret : bluetooth.ProfileConnectionState = a2dpSrc.getDeviceState('XX:XX:XX:XX:XX:XX'); 2402 let status : bluetooth.ProfileConnectionState = BLEConnectChangedState.state; 3075 let connectState : bluetooth.ProfileConnectionState = state.state; [all …]
|
H A D | js-apis-bluetooth-constant.md | 31 ## ProfileConnectionState section
|
H A D | js-apis-bluetoothManager.md | 178 getBtConnectionState(): ProfileConnectionState 193 | [ProfileConnectionState](#profileconnectionstatedeprecated) | 表示蓝牙设备的Profile连接状态。 | 212 …let connectionState: bluetoothManager.ProfileConnectionState = bluetoothManager.getBtConnectionSta… 310 getProfileConnectionState(profileId: ProfileId): ProfileConnectionState 331 | [ProfileConnectionState](#profileconnectionstatedeprecated) | profile的连接状态。 | 1916 getDeviceState(device: string): ProfileConnectionState 1937 | [ProfileConnectionState](#profileconnectionstatedeprecated) | 返回profile的连接状态。 | 1959 let ret: bluetoothManager.ProfileConnectionState = a2dpSrc.getDeviceState('XX:XX:XX:XX:XX:XX'); 3445 let status: bluetoothManager.ProfileConnectionState = BLEConnectChangedState.state; 4335 let connectState: bluetoothManager.ProfileConnectionState = state.state; [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ProfileDoc/ |
H A D | Profile功能界面使用说明文档.md | 18 | 获取设备状态 | getDeviceState | (device: string) | ProfileConnectionState(枚举) | Base | 23 >enum ProfileConnectionState { 203 | 获取设备状态 | getDeviceState | (device: string) | ProfileConnectionState(枚举) | Base | 210 >#### ProfileConnectionState 枚举,蓝牙设备的profile连接状态
|
/ohos5.0/docs/zh-cn/application-dev/connectivity/bluetooth/ |
H A D | gatt-development-guide.md | 78 connectState: ble.ProfileConnectionState = constant.ProfileConnectionState.STATE_DISCONNECTED; 197 if (this.connectState != constant.ProfileConnectionState.STATE_DISCONNECTED) { 232 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) { 254 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) { 280 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) { 303 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) { 333 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) { 375 connectState: ble.ProfileConnectionState = constant.ProfileConnectionState.STATE_DISCONNECTED;
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/BrManagerDoc/ |
H A D | 经典蓝牙Manager使用说明文档.md | 17 … | () | ProfileConnectionState | | 20 …状态 | (profileId: ProfileId) | ProfileConnectionState | | 97 >#### ProfileConnectionState 枚举蓝牙设备的profile连接状态 252 >| state | **ProfileConnectionState** | 是 | 否 | 表示蓝牙设备的profile连接状态。 |
|
/ohos5.0/docs/en/application-dev/connectivity/bluetooth/ |
H A D | gatt-development-guide.md | 81 connectState: ble.ProfileConnectionState = constant.ProfileConnectionState.STATE_DISCONNECTED; 200 if (this.connectState != constant.ProfileConnectionState.STATE_DISCONNECTED) { 235 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) { 257 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) { 283 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) { 306 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) { 336 … if (!this.gattClient || this.connectState != constant.ProfileConnectionState.STATE_CONNECTED) { 379 connectState: ble.ProfileConnectionState = constant.ProfileConnectionState.STATE_DISCONNECTED;
|
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/constant/ |
H A D | napi_bluetooth_constant.cpp | 122 …SetNamedPropertyByInteger(env, profileState, ProfileConnectionState::STATE_DISCONNECTED, "STATE_DI… in ProfileStateInit() 123 …SetNamedPropertyByInteger(env, profileState, ProfileConnectionState::STATE_CONNECTING, "STATE_CONN… in ProfileStateInit() 124 …SetNamedPropertyByInteger(env, profileState, ProfileConnectionState::STATE_CONNECTED, "STATE_CONNE… in ProfileStateInit() 125 …SetNamedPropertyByInteger(env, profileState, ProfileConnectionState::STATE_DISCONNECTING, "STATE_D… in ProfileStateInit()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-communicate.md | 175 | ohos.bluetooth | StateChangeParam | state: ProfileConnectionState; | 新增 | 291 | ohos.bluetooth | ProfileConnectionState | STATE_DISCONNECTING = 3 | 新增 | 292 | ohos.bluetooth | ProfileConnectionState | STATE_CONNECTED = 2 | 新增 | 293 | ohos.bluetooth | ProfileConnectionState | STATE_CONNECTING = 1 | 新增 | 294 | ohos.bluetooth | ProfileConnectionState | STATE_DISCONNECTED = 0 | 新增 | 329 | ohos.bluetooth | BLEConnectChangedState | state: ProfileConnectionState; | 新增 | 429 | ohos.bluetooth | BaseProfile | getDeviceState(device: string): ProfileConnectionState; | 新增 | 454 | ohos.bluetooth | bluetooth | getProfileConnState(profileId: ProfileId): ProfileConnectionState; |… 462 | ohos.bluetooth | bluetooth | getBtConnectionState(): ProfileConnectionState; | 新增 |
|
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-bluetooth-baseProfile.md | 27 | state | [ProfileConnectionState](js-apis-bluetooth-constant.md#profileconnectionstate) … 92 getConnectionState(deviceId: string): ProfileConnectionState 110 | [ProfileConnectionState](js-apis-bluetooth-constant.md#profileconnectionstate) | Profile connecti…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/ |
H A D | changelogs-bluetooth.md | 27 | bluetooth | method | function getBtConnectionState(): ProfileConnectionState; | API9接口变更,迁移到@oho… 36 …(profileId: ProfileId): ProfileConnectionState | function getProfileConnectionState(profileId: Pro… 62 …e | getDeviceState(device: string): ProfileConnectionState; | getDeviceState(device: string): Prof… 150 | bluetooth | ProfileConnectionState | ProfileConnectionState | API9接口变更,迁移到@ohos.bluetoothManager.…
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/SppManagerDoc/ |
H A D | SPPManager测试使用说明文档.md | 26 …te | () | ProfileConnectionState | | 212 …te | () | ProfileConnectionState | |
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-communicate.md | 175 | ohos.bluetooth | StateChangeParam | state: ProfileConnectionState; | Added| 291 | ohos.bluetooth | ProfileConnectionState | STATE_DISCONNECTING = 3 | Added| 292 | ohos.bluetooth | ProfileConnectionState | STATE_CONNECTED = 2 | Added| 293 | ohos.bluetooth | ProfileConnectionState | STATE_CONNECTING = 1 | Added| 294 | ohos.bluetooth | ProfileConnectionState | STATE_DISCONNECTED = 0 | Added| 329 | ohos.bluetooth | BLEConnectChangedState | state: ProfileConnectionState; | Added| 429 | ohos.bluetooth | BaseProfile | getDeviceState(device: string): ProfileConnectionState; | Added| 454 | ohos.bluetooth | bluetooth | getProfileConnState(profileId: ProfileId): ProfileConnectionState; |… 462 | ohos.bluetooth | bluetooth | getBtConnectionState(): ProfileConnectionState; | Added|
|
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_bluetooth_utils.cpp | 325 int32_t profileConnectionState = ProfileConnectionState::STATE_DISCONNECTED; in GetProfileConnectionState() 329 profileConnectionState = ProfileConnectionState::STATE_CONNECTING; in GetProfileConnectionState() 333 profileConnectionState = ProfileConnectionState::STATE_CONNECTED; in GetProfileConnectionState() 337 profileConnectionState = ProfileConnectionState::STATE_DISCONNECTING; in GetProfileConnectionState() 341 profileConnectionState = ProfileConnectionState::STATE_DISCONNECTED; in GetProfileConnectionState()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/ |
H A D | js-apidiff-communication.md | 73 |新增|NA|类名:baseProfile;<br>方法or属性:type ProfileConnectionState = constant.ProfileConnectionState;|@oh… 87 |新增|NA|类名:ble;<br>方法or属性:type ProfileConnectionState = constant.ProfileConnectionState;|@ohos.bluet… 237 |新增|NA|类名:connection;<br>方法or属性:type ProfileConnectionState = constant.ProfileConnectionState;|@oho… 314 |新增|NA|类名:ProfileConnectionState;<br>方法or属性:STATE_DISCONNECTED = 0|@ohos.bluetooth.constant.d.ts| 315 |新增|NA|类名:ProfileConnectionState;<br>方法or属性:STATE_CONNECTING = 1|@ohos.bluetooth.constant.d.ts| 316 |新增|NA|类名:ProfileConnectionState;<br>方法or属性:STATE_CONNECTED = 2|@ohos.bluetooth.constant.d.ts| 702 …ProfileConnectionState;<br>方法or属性:enum ProfileConnectionState<br>旧版本信息:|类名:ProfileConnectionState;… 703 …ProfileConnectionState;<br>方法or属性:STATE_DISCONNECTED = 0<br>旧版本信息:|类名:ProfileConnectionState;<br>方… 704 …ProfileConnectionState;<br>方法or属性:STATE_CONNECTING = 1<br>旧版本信息:|类名:ProfileConnectionState;<br>方法o… 705 …ProfileConnectionState;<br>方法or属性:STATE_CONNECTED = 2<br>旧版本信息:|类名:ProfileConnectionState;<br>方法or… [all …]
|
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/pan/ |
H A D | napi_bluetooth_pan.cpp | 166 int32_t profileState = ProfileConnectionState::STATE_DISCONNECTED; in GetDeviceState() 220 int32_t profileState = ProfileConnectionState::STATE_DISCONNECTED; in GetConnectionState()
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.2.1/ |
H A D | changelogs-bluetooth.md | 27 … | function getBtConnectionState(): ProfileConnectionState; | Mig… 36 …(profileId: ProfileId): ProfileConnectionState | function getProfileConnectionState(profileId: Pro… 62 …| getDeviceState(device: string): ProfileConnectionState; | getDeviceState(device: string): P… 150 | bluetooth | ProfileConnectionState | ProfileConnectionState | Migrated this API in API version 9 …
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/SppDoc/ |
H A D | SPP功能界面使用说明文档.md | 127 …te | () | ProfileConnectionState | |
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/ |
H A D | js-apidiff-communication.md | 5 …: bluetoothManager<br>方法 or 属性: function getBtConnectionState(): ProfileConnectionState;|@ohos.blu… 171 …uetoothManager<br>类名: BLEConnectChangedState<br>方法 or 属性: state: ProfileConnectionState;|@ohos.blu… 222 …hos.bluetoothManager<br>类名: StateChangeParam<br>方法 or 属性: state: ProfileConnectionState;|@ohos.blu… 230 |新增|NA|模块名: ohos.bluetoothManager<br>类名: ProfileConnectionState|@ohos.bluetoothManager.d.ts| 231 |新增|NA|模块名: ohos.bluetoothManager<br>类名: ProfileConnectionState<br>方法 or 属性: STATE_DISCONNECTED = 0… 232 |新增|NA|模块名: ohos.bluetoothManager<br>类名: ProfileConnectionState<br>方法 or 属性: STATE_CONNECTING = 1|@… 233 |新增|NA|模块名: ohos.bluetoothManager<br>类名: ProfileConnectionState<br>方法 or 属性: STATE_CONNECTED = 2|@o… 234 |新增|NA|模块名: ohos.bluetoothManager<br>类名: ProfileConnectionState<br>方法 or 属性: STATE_DISCONNECTING = … 407 …onnectionState(): ProfileConnectionState;<br>废弃版本:N/A|类名:bluetooth<br>方法 or 属性:function getBtConne… 442 …(device: string): ProfileConnectionState;<br>废弃版本:N/A|类名:BaseProfile<br>方法 or 属性:getDeviceState(de… [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/GattManagerDoc/ |
H A D | GattManager测试使用说明文档.md | 60 >| state | **ProfileConnectionState** | 是 | 是 | 表示BLE连接状态的枚举。 | 64 >#### ProfileConnectionState 枚举,蓝牙设备的profile连接状态
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v4.0-beta2/ |
H A D | js-apidiff-communication.md | 73 … baseProfile;<br>Method or attribute name: type ProfileConnectionState = constant.ProfileConnectio… 87 …ss name: ble;<br>Method or attribute name: type ProfileConnectionState = constant.ProfileConnectio… 237 …: connection;<br>Method or attribute name: type ProfileConnectionState = constant.ProfileConnectio… 314 |Added|NA|Class name: ProfileConnectionState;<br>Method or attribute name: STATE_DISCONNECTED = 0|@… 315 |Added|NA|Class name: ProfileConnectionState;<br>Method or attribute name: STATE_CONNECTING = 1|@oh… 316 |Added|NA|Class name: ProfileConnectionState;<br>Method or attribute name: STATE_CONNECTED = 2|@oho… 702 …ProfileConnectionState;<br>Method or attribute name: enum ProfileConnectionState<br>Old version in… 703 …ProfileConnectionState;<br>Method or attribute name: STATE_DISCONNECTED = 0<br>Old version informa… 704 …ProfileConnectionState;<br>Method or attribute name: STATE_CONNECTING = 1<br>Old version informati… 705 …ProfileConnectionState;<br>Method or attribute name: STATE_CONNECTED = 2<br>Old version informatio… [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/MainAbility/model/ |
H A D | gattClientManagerInterface.ets | 179 case bluetoothManager.ProfileConnectionState.STATE_DISCONNECTED: 182 case bluetoothManager.ProfileConnectionState.STATE_CONNECTING: 185 case bluetoothManager.ProfileConnectionState.STATE_CONNECTED: 188 case bluetoothManager.ProfileConnectionState.STATE_DISCONNECTING:
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-communication.md | 66 |新增|NA|类名:baseProfile;<br>方法or属性:type ProfileConnectionState = constant.ProfileConnectionState;|@oh… 80 |新增|NA|类名:ble;<br>方法or属性:type ProfileConnectionState = constant.ProfileConnectionState;|@ohos.bluet… 230 |新增|NA|类名:connection;<br>方法or属性:type ProfileConnectionState = constant.ProfileConnectionState;|@oho… 307 |新增|NA|类名:ProfileConnectionState;<br>方法or属性:STATE_DISCONNECTED = 0|@ohos.bluetooth.constant.d.ts| 308 |新增|NA|类名:ProfileConnectionState;<br>方法or属性:STATE_CONNECTING = 1|@ohos.bluetooth.constant.d.ts| 309 |新增|NA|类名:ProfileConnectionState;<br>方法or属性:STATE_CONNECTED = 2|@ohos.bluetooth.constant.d.ts| 951 …ProfileConnectionState;<br>方法or属性:enum ProfileConnectionState<br>旧版本信息:|类名:ProfileConnectionState;… 952 …ProfileConnectionState;<br>方法or属性:STATE_DISCONNECTED = 0<br>旧版本信息:|类名:ProfileConnectionState;<br>方… 953 …ProfileConnectionState;<br>方法or属性:STATE_CONNECTING = 1<br>旧版本信息:|类名:ProfileConnectionState;<br>方法o… 954 …ProfileConnectionState;<br>方法or属性:STATE_CONNECTED = 2<br>旧版本信息:|类名:ProfileConnectionState;<br>方法or… [all …]
|