/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-bluetooth-pan.md | 1 # @ohos.bluetooth.pan (蓝牙pan模块) 3 pan模块提供了访问蓝牙个人区域网相关功能的方法。 14 import { pan } from '@kit.ConnectivityKit'; 18 ## pan.createPanProfile 22 创建pan profile实例。 46 let panProfile : pan.PanProfile= pan.createPanProfile(); 47 console.info('pan success');
|
H A D | js-apis-bluetooth-pan-sys.md | 1 # @ohos.bluetooth.pan (蓝牙pan模块)(系统接口) 3 pan模块提供了访问蓝牙个人区域网相关功能的方法。 8 > 当前页面仅包含本模块的系统接口,其他公开接口参见[@ohos.bluetooth.pan (蓝牙pan模块)](js-apis-bluetooth-pan.md) 14 import { pan } from '@kit.ConnectivityKit'; 59 let panProfile: pan.PanProfile = pan.createPanProfile(); 105 let panProfile: pan.PanProfile = pan.createPanProfile(); 147 let panProfile: pan.PanProfile = pan.createPanProfile();
|
H A D | Readme-CN.md | 12 - [@ohos.bluetooth.pan(蓝牙pan模块)(推荐)](js-apis-bluetooth-pan.md) 31 - [@ohos.bluetooth.pan(蓝牙pan模块)(推荐)(系统接口)](js-apis-bluetooth-pan-sys.md)
|
H A D | js-apis-bluetoothManager-sys.md | 173 > 从API version 9开始支持,从API version 10开始废弃。建议使用[pan.PanProfile#disconnect](js-apis-bluetooth-pan-sys.… 270 > 从API version 9开始支持,从API version 10开始废弃。建议使用[pan.PanProfile#isTetheringOn](js-apis-bluetooth-pan-s…
|
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-bluetooth-pan.md | 1 # @ohos.bluetooth.pan (Bluetooth PAN Module) 3 The **pan** module provides APIs for accessing the Bluetooth personal area network (PAN). 14 import { pan } from '@kit.ConnectivityKit'; 18 ## pan.createPanProfile 46 let panProfile : pan.PanProfile= pan.createPanProfile(); 47 console.info('pan success');
|
H A D | js-apis-bluetooth-pan-sys.md | 1 # @ohos.bluetooth.pan (Bluetooth PAN Module) (System API) 3 The **pan** module provides APIs for accessing the Bluetooth personal area network (PAN). 8 …details about its public APIs, see [@ohos.bluetooth.pan (Bluetooth PAN Module)](js-apis-bluetooth-… 14 import { pan } from '@kit.ConnectivityKit'; 59 let panProfile: pan.PanProfile = pan.createPanProfile(); 105 let panProfile: pan.PanProfile = pan.createPanProfile(); 147 let panProfile: pan.PanProfile = pan.createPanProfile();
|
H A D | Readme-EN.md | 12 - [@ohos.bluetooth.pan (Bluetooth PAN Module) (Recommended)](js-apis-bluetooth-pan.md) 31 …- [@ohos.bluetooth.pan (Bluetooth PAN Module) (Recommended) (System API)](js-apis-bluetooth-pan-sy…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-gestures-pangesture.md | 3 **PanGesture** is used to trigger a pan gesture when the movement distance of a finger on the scree… 22 …istance | number | No| Minimum pan distance to trigger the gesture, in vp.<br>Default value: **5**… 26 Enumerates the pan directions. Unlike **SwipeDirection**, **PanDirection** has no angular restricti… 44 The attributes of the pan gesture recognizer can be dynamically modified using the **PanGestureOpti… 54 … | No | Minimum number of fingers to trigger a pan gesture. The value … 56 …pan distance to trigger the gesture, in vp.<br>Default value: **5**<br>**NOTE**<br>If a pan gestur… 75 …() => void) | Invoked when a tap cancellation event is received after a pan gesture is recogniz… 81 | tag<sup>11+</sup> | string | Tag for the pan gesture. It is used to distinguish the gesture du… 82 …(ts-gesture-settings.md#sourcetool9)> | Allowed event input types for the pan gesture.<br>**Atomi… 86 This example demonstrates the recognition of single-finger and double-finger pan gestures using **P… [all …]
|
H A D | ts-combined-gestures.md | 42 …e sequential recognition of combined gestures, specifically long press and pan gestures, using **G… 80 console.info('pan start') 87 console.info('pan update') 93 console.info('pan end')
|
H A D | ts-gesture-customize-judge.md | 77 …orizontal axis value.<br>**NOTE**<br>The value can only be obtained in the pan gesture initiated b… 78 … Vertical axis value.<br>**NOTE**<br>The value can only be obtained in the pan gesture initiated b… 120 …e original area of the current component, in vp. A positive value means to pan from left to right,… 121 …e original area of the current component, in vp. A positive value means to pan from top to bottom,… 159 This example demonstrates how to implement custom judgment for long press, swipe, and pan gestures … 205 .tag("pan1")// Tag for the pan gesture. 221 // If the gesture type is a pan gesture, convert the event to a pan gesture event. 243 … **onGestureJudgeBegin** to determine whether to respond to long press and pan gestures based on t… 257 …ng press gesture, and the lower blue area is bound to a drag gesture. If a pan is performed after … 265 // The lower half area of the stack is an image area bound to the pan gesture.
|
H A D | ts-uigestureevent.md | 254 Defines a type of gesture handler object for pan gestures. 269 | options | [PanGestureHandlerOptions](#pangesturehandleroptions) | No | Parameters of the pan ges… 275 Invoked when a pan gesture is recognized. 285 …vent](ts-gesture-settings.md#gestureevent)> | Yes| Callback invoked when a pan gesture is recogniz… 297 Invoked during the movement of a pan gesture. 319 Invoked when the finger used for a pan gesture is lifted. 329 …ttings.md#gestureevent)> | Yes| Callback invoked when the finger used for a pan gesture is lifted.| 341 Invoked when a tap cancellation event is received after a pan gesture is recognized. 351 … | Yes| Callback invoked when a tap cancellation event is received after a pan gesture is recogniz… 361 Provides the parameters of the pan gesture handler. [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/MainAbility/model/ |
H A D | btProfileModel.ets | 24 import pan from '@ohos.bluetooth.pan' 29 …A2dpSourceProfile | bt.HandsFreeAudioGatewayProfile | hid.HidHostProfile | pan.PanProfile | bt.Opp… 50 this.profiles[ this.PROFILE_PAN_NETWORK ] = pan.createPanProfile() as pan.PanProfile; 91 getPanNetworkProfile(): pan.PanProfile | null { 93 return this.profiles[ this.PROFILE_PAN_NETWORK ] as pan.PanProfile; 105 …A2dpSourceProfile | bt.HandsFreeAudioGatewayProfile | hid.HidHostProfile | pan.PanProfile | bt.Opp…
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-gesture-events-single-gesture.md | 120 Triggers a pan gesture, which requires the minimum movement distance (5 vp by default) of a finger … 125 - **direction**: pan direction. The enumerated value supports the AND (&) and OR (\|) operation… 130 The following exemplifies how to bind a pan gesture to the **Text** component. You can pan a compon… 155 // Bind a pan gesture to the component. 160 …// When the pan gesture is recognized, modify the layout and position information of the component… 180  185 …d**, **Scroll**, and **Tab**, allow for swiping through the pan gesture. If you bind the pan gestu… 187 …pan gesture is bound to a child component, the component, instead of its parent, responds to the p… 394 …pan gesture are simultaneously bound to a component in default or mutually exclusive mode, competi…
|
H A D | arkts-gesture-events-combined-gestures.md | 20 …ample, the combined gestures for continuous recognition are the long press gesture and pan gesture. 22 …the long press gesture, the component is dragged based on the callback function of the pan gesture. 46 …equence. When the long press gesture event is not triggered correctly, the pan gesture event is no… 64 …// The pan gesture is triggered when the component is dragged after the long press gesture is reco… 68 console.info('pan start'); 70 …// When the gesture is triggered, the pan distance is obtained based on the callback, and the disp… 76 console.info('pan update'); 98 …pan gesture. It is triggered only when the user performs a pan gesture within the preset time fram…
|
/ohos5.0/docs/zh-cn/application-dev/connectivity/bluetooth/ |
H A D | bluetooth-overview.md | 19 …pan模块(个人区域网络):PAN(Personal Area Network)是个人区域网络的缩写,是一种无线通信技术,用于将设备连接到一个小范围的网络中。例如可以将手机、电脑、打印机等设备连接…
|
/ohos5.0/docs/en/readme/ |
H A D | pan-sensor.md | 5 The pan-sensor service subsystem provides a lightweight sensor service framework, through which you… 12 The following figure shows the architecture of the pan-sensor service framework. 29 The following modules work cooperatively to implement pan-sensor capabilities: Sensor API, Sensor F…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-combined-gestures.md | 80 console.info('pan start') 87 console.info('pan update') 93 console.info('pan end')
|
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/ |
H A D | BUILD.gn | 78 "src/pan/napi_bluetooth_pan.cpp", 79 "src/pan/napi_bluetooth_pan_observer.cpp", 167 "src/pan/napi_bluetooth_pan.cpp", 168 "src/pan/napi_bluetooth_pan_observer.cpp", 210 "$SUBSYSTEM_DIR/bluetooth/frameworks/js/napi/src/pan:pan",
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | native__gesture_8h.md | 68 …etvelocity) (const ArkUI_GestureEvent \*event) | Obtains the velocity of a pan gesture along the m… 69 …tvelocityx) (const ArkUI_GestureEvent \*event) | Obtains the velocity of a pan gesture along the x… 70 …tvelocityy) (const ArkUI_GestureEvent \*event) | Obtains the velocity of a pan gesture along the y… 71 …etx) (const ArkUI_GestureEvent \*event) | Obtains the relative offset of a pan gesture along the x… 72 …ety) (const ArkUI_GestureEvent \*event) | Obtains the relative offset of a pan gesture along the y… 87 …module.md#arkui_gesturedirectionmask) \*directionMask) | Obtains the direction of a pan gesture. |
|
/ohos5.0/base/sensors/sensor_lite/ |
H A D | README.md | 13 The pan-sensor service subsystem provides a lightweight sensor service framework, through which you… 21 The following figure shows the architecture of the pan-sensor framework. 24  155 [Pan-sensor subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/pan-sensor.md)
|
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/pan/ |
H A D | BUILD.gn | 19 ohos_shared_library("pan") { 33 "BT_MODULE_NAME = \"bluetooth.pan\"",
|
/ohos5.0/docs/en/application-dev/connectivity/bluetooth/ |
H A D | bluetooth-overview.md | 19 …pan** module: Personal Area Network (PAN) is a wireless communication technology used to connect d…
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/ |
H A D | BUILD.gn | 323 "src/pan/pan_bnep.cpp", 324 "src/pan/pan_network.cpp", 325 "src/pan/pan_sdp.cpp", 326 "src/pan/pan_service.cpp", 327 "src/pan/pan_statemachine.cpp",
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-gesture-events-combined-gestures.md | 68 console.info('pan start'); 76 console.info('pan update');
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.10.1/ |
H A D | changelogs-bluetooth.md | 18 |@ohos.bluetooth.pan | [js-apis-bluetooth-pan.md](../../../application-dev/reference/apis/js-apis-b… 34 …: boolean): void](../../../application-dev/reference/apis/js-apis-bluetooth-pan.md#settethering) | 103 |disconnect(pan profile) | [disconnect](../../../application-dev/reference/apis/js-apis-bluetooth-p… 104 |on('connectionStateChange')(pan profile) | [baseProfile.on('connectionStateChange')](../../../appl… 105 |off('connectionStateChange')(pan profile) | [baseProfile.off('connectionStateChange')](../../../ap… 106 |setTethering | [setTethering](../../../application-dev/reference/apis/js-apis-bluetooth-pan.md#set… 107 |isTetheringOn | [isTetheringOn](../../../application-dev/reference/apis/js-apis-bluetooth-pan.md#i…
|