Home
last modified time | relevance | path

Searched refs:ProfileConnectionState (Results 1 – 25 of 46) sorted by relevance

12

/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/
H A Djs-apis-bluetooth-baseProfile.md18 ## 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 Djs-apis-bluetooth-connection.md18 ## 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 Djs-apis-bluetooth.md124 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 Djs-apis-bluetooth-constant.md31 ## ProfileConnectionState section
H A Djs-apis-bluetoothManager.md178 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 DProfile功能界面使用说明文档.md18 | 获取设备状态 | 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 Dgatt-development-guide.md78 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使用说明文档.md17 … | () | ProfileConnectionState | |
20 …状态 | (profileId: ProfileId) | ProfileConnectionState | |
97 >#### ProfileConnectionState 枚举蓝牙设备的profile连接状态
252 >| state | **ProfileConnectionState** | 是 | 否 | 表示蓝牙设备的profile连接状态。 |
/ohos5.0/docs/en/application-dev/connectivity/bluetooth/
H A Dgatt-development-guide.md81 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 Dnapi_bluetooth_constant.cpp122 …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 Djs-apidiff-communicate.md175 | 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 Djs-apis-bluetooth-baseProfile.md27 | 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 Dchangelogs-bluetooth.md27 | 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 DSPPManager测试使用说明文档.md26 …te | () | ProfileConnectionState | |
212 …te | () | ProfileConnectionState | |
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-communicate.md175 | 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 Dnapi_bluetooth_utils.cpp325 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 Djs-apidiff-communication.md73 |新增|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|
702ProfileConnectionState;<br>方法or属性:enum ProfileConnectionState<br>旧版本信息:|类名:ProfileConnectionState;…
703ProfileConnectionState;<br>方法or属性:STATE_DISCONNECTED = 0<br>旧版本信息:|类名:ProfileConnectionState;<br>方…
704ProfileConnectionState;<br>方法or属性:STATE_CONNECTING = 1<br>旧版本信息:|类名:ProfileConnectionState;<br>方法o…
705ProfileConnectionState;<br>方法or属性:STATE_CONNECTED = 2<br>旧版本信息:|类名:ProfileConnectionState;<br>方法or…
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/pan/
H A Dnapi_bluetooth_pan.cpp166 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 Dchangelogs-bluetooth.md27 … | 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 DSPP功能界面使用说明文档.md127 …te | () | ProfileConnectionState | |
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/
H A Djs-apidiff-communication.md5 …: 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 DGattManager测试使用说明文档.md60 >| state | **ProfileConnectionState** | 是 | 是 | 表示BLE连接状态的枚举。 |
64 >#### ProfileConnectionState 枚举,蓝牙设备的profile连接状态
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v4.0-beta2/
H A Djs-apidiff-communication.md73 … 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…
702ProfileConnectionState;<br>Method or attribute name: enum ProfileConnectionState<br>Old version in…
703ProfileConnectionState;<br>Method or attribute name: STATE_DISCONNECTED = 0<br>Old version informa…
704ProfileConnectionState;<br>Method or attribute name: STATE_CONNECTING = 1<br>Old version informati…
705ProfileConnectionState;<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 DgattClientManagerInterface.ets179 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 Djs-apidiff-communication.md66 |新增|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|
951ProfileConnectionState;<br>方法or属性:enum ProfileConnectionState<br>旧版本信息:|类名:ProfileConnectionState;…
952ProfileConnectionState;<br>方法or属性:STATE_DISCONNECTED = 0<br>旧版本信息:|类名:ProfileConnectionState;<br>方…
953ProfileConnectionState;<br>方法or属性:STATE_CONNECTING = 1<br>旧版本信息:|类名:ProfileConnectionState;<br>方法o…
954ProfileConnectionState;<br>方法or属性:STATE_CONNECTED = 2<br>旧版本信息:|类名:ProfileConnectionState;<br>方法or…
[all …]

12