update en/Community-Developer-Guides/openKylin_SDK_Guide_V2.0.md.

Signed-off-by: wucaiheng <11866284+wucaiheng@user.noreply.gitee.com>
This commit is contained in:
wucaiheng 2023-03-30 05:46:12 +00:00 committed by Gitee
parent 5a231fc43a
commit c60a38519f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 10 additions and 10 deletions

View File

@ -372,7 +372,7 @@ $ sudo apt-get install libkysdk-hardware libkysdk-hardware-dev
<table style="width: auto;"><tbody><tr><td colSpan="1" rowSpan="1" width="67">submodule</td><td colSpan="1" rowSpan="1" width="82">Programming language</td><td colSpan="2" rowSpan="1" width="312">statement</td><td colSpan="1" rowSpan="1" width="98">describe</td></tr><tr><td colSpan="1" rowSpan="3" width="67">Get network card information</td><td colSpan="1" rowSpan="3" width="82">C</td><td colSpan="2" rowSpan="1" width="312">extern int kdk_nc_get_vendor_and_product(const char *nc, char *vendor, char *product);</td><td colSpan="1" rowSpan="1" width="98">Get the manufacturer name and device model of the specified network card</td></tr><tr><td colSpan="1" rowSpan="1" width="127">Parameter Description</td><td colSpan="1" rowSpan="1" width="184">Return value description</td><td colSpan="1" rowSpan="1" width="98"></td></tr><tr><td colSpan="1" rowSpan="1" width="127">ncNetwork card name, such as eno1vendorBuffer accepting vendor name product: Buffer accepting device model</td><td colSpan="1" rowSpan="1" width="184">0 : success 1 : failure</td><td colSpan="1" rowSpan="1" width="98"></td></tr></tbody></table>
list of recycled strings
List of recycled strings
| submodule | Programming language | statement | describe |
|--------|------|-----------------------------------------------|---------|
@ -481,7 +481,7 @@ target_link_libraries(kybios-test kyhw)
free memory
Free memory
| submodule | Programming language | statement | describe |
@ -549,7 +549,7 @@ target_link_libraries(kyboard-test kyhw)
free memory
Free memory
| submodule | Programming language | statement | describe |
@ -578,7 +578,7 @@ target_link_libraries(kyusb-test kyhw)
```
#include "kysdk/kysdk-system/libkyusbinfo.h"
```
get all usb device information
Get all usb device information
| submodule | Programming language | statement | describe |
@ -891,7 +891,7 @@ Get information about the specified process
Get all information about the process
<table style="width: auto;"><tbody><tr><td colSpan="1" rowSpan="1" width="68">submodule</td><td colSpan="1" rowSpan= "1" width="82">Programming language</td><td colSpan="2" rowSpan="1" width="308">Statement</td><td colSpan="1" rowSpan="1" width="100">Description</td></tr><tr><td colSpan="1" rowSpan="3" width="68">Get resource information</td><td colSpan="1" rowSpan="3" width="82">C</td><td colSpan="2" rowSpan="1" width="308">char** kdk_get_process_all_information()</td><td colSpan="1 " rowSpan="1" width="100">Get all process information</td></tr><tr><td colSpan="1" rowSpan="1" width="127">Parameter Description</td ><td colSpan="1" rowSpan="1" width="181">Return value description</td><td colSpan="1" rowSpan="1" width="100"></td></ tr><tr><td colSpan="1" rowSpan="1" width="127">None</td><td colSpan="1" rowSpan="1" width="181">char** process All information lists, end with NULL, are generated by alloc and need to be recycled by kdk_proc_freeall; if there is an error in obtaining, return NULL;</td><td colSpan="1" rowSpan="1" width="100"></ td></tr></tbody></table>
list of recycled strings
List of recycled strings
<table style="width: auto;"><tbody><tr><td colSpan="1" rowSpan="1" width="67">submodule</td><td colSpan="1" rowSpan= "1" width="82">Programming language</td><td colSpan="2" rowSpan="1" width="312">Statement</td><td colSpan="1" rowSpan="1" width="98">Description</td></tr><tr><td colSpan="1" rowSpan="3" width="67">Get resource information</td><td colSpan="1" rowSpan="3" width="82">C</td><td colSpan="2" rowSpan="1" width="312">extern inline void kdk_proc_freeall(char **ptr)</td><td colSpan="1" rowSpan="1" width="98">recycle string list</td></tr><tr><td colSpan="1" rowSpan="1" width="128">parameters Description</td><td colSpan="1" rowSpan="1" width="183">Return value description</td><td colSpan="1" rowSpan="1" width="98"></ td></tr><tr><td colSpan="1" rowSpan="1" width="128">ptr: string list</td><td colSpan="1" rowSpan="1" width= "183">none</td><td colSpan="1" rowSpan="1" width="98"></td></tr></tbody></table>
@ -1209,7 +1209,7 @@ target_link_libraries(locationtest kylocation)
Encapsulate C++ interface to provide OCR text recognition function.
get text box
Get text box
| submodule | Programming language | statement | | describe |
@ -1220,7 +1220,7 @@ target_link_libraries(locationtest kylocation)
get text content
Get text content
| submodule | Programming language | statement || describe |
|----------------|---------|-------------------------------------------------------------------|-|--------|
@ -1267,7 +1267,7 @@ Set print parameters
| | | Parameter Description | Return value description |
| | | printername: printer name <br> filepathPrint the absolute path of the file | int id of the print job |
cancel print job
Cancel print job
| submodule | Programming language | statement | describe |
|-----------------|-------|-----------------------------------------------|--------|
| printer management | C | extern int kdk_printer_cancel_all_jobs(const char *printername); | cancel print job |
@ -1446,7 +1446,7 @@ Title switching, the title color responds to the window activation status, and t
>
> Function description: KBubbleWidget, inherited from QWidget, is a window with a bubble tail
body, you can specify the size, display direction and display position of the bubble tail, and you can also set the circle of the form
Body, you can specify the size, display direction and display position of the bubble tail, and you can also set the circle of the form
> Corners, frosted glass and transparency. Enabled since version 2.0.0.0.
@ -1711,7 +1711,7 @@ progress2->setShowDetail(false);
>
> Function description: KUninstallDialog, the code is integrated from the Kylin installer, and supports displaying application diagrams
logo, application name, package name, version number and other information, excluding the specific uninstallation behavior. Just pass the
Logo, application name, package name, version number and other information, excluding the specific uninstallation behavior. Just pass the
> Enter the package name and the last two parameters of the version.