Overview of the Word Selection Service Since API version 24, the word selection service is available. It provides capabilities for obtaining selected text globally and APIs for implementing a word sel
阅读全文
openharmony 鸿蒙 runningLock-dev
Preventing the Idle System from Entering Sleep Mode When to Use When the PC does not detect any user activity (such as keyboard or mouse input) within a specified period, the system automatically ente
阅读全文
openharmony 鸿蒙 Readme-EN
Power Management Running Lock Usage Guide Preventing the Idle System from Entering Sleep Mode
阅读全文
openharmony 鸿蒙 common-event-static-subscription-sys
Subscribing to Common Events in Static Mode (for System Applications Only) When to Use A static subscriber is started once it receives a target event published by the system or application. At the sam
阅读全文
openharmony 鸿蒙 common-event-remove-sticky-sys
Removing Sticky Common Events (for System Applications Only) When to Use Subscribers can receive sticky common events that have been sent. If the events are no longer forwarded, the event publisher ne
阅读全文
openharmony 鸿蒙 use-pasteboard-to-copy-and-paste
Using the Pasteboard to Copy and Paste When to Use The pasteboard allows you to copy and paste data. For example, you can copy text content and paste it to Notepad, or copy a photo from Gallery and pa
阅读全文
openharmony 鸿蒙 usbSerial-overview
USB Serial Communication Development Overview Overview The USB serial communication service provides the USB host-to-serial port communication. With this service, you can obtain the list of connected
阅读全文
openharmony 鸿蒙 usbSerial-configuration
USB Serial Configuration Management Overview In the USB serial configuration management, the baud rate, data bit, parity bit, and stop bit are the core parameters of the serial port communication prot
阅读全文
openharmony 鸿蒙 usbSerial-communication
USB Serial Communication Management Overview In the USB serial communication service, the USB port of the host is connected to the serial port of the serial port device for serial data transmission. T
阅读全文
openharmony 鸿蒙 deviceManager
USB Device Management When to Use When a USB device is inserted, you can use usbManager to obtain basic information about the USB device, such as the device type and supported functions. The host comm
阅读全文