当前仅显示指定条件回帖 [ 展开查看全部 ]
文件名称:
request.md
所在目录:
Openharmony v1.0 / docs / docs-en / api / api-SmartVision-Devices
文件大小:
3.47 KB
下载地址:
文本预览:
# Request
## **Overview**
**Related Modules:**
[Samgr](samgr.md)
**Description:**
Defines a request.
You can use this structure to define the request that will be sent to a feature through the asynchronous function of [IUnknown](iunknown.md). [Request](request.md), which is data that is packed to send to a feature. If the data is not empty and the length is not 0, the system automatically releases the data.
## **Summary**
## Data Fields
## **Details**
## **Field Documentation**
## data
```
void* Request::data
```
**Description:**
Data content
## len
```
int16 Request::len
```
**Description:**
Data length
## msgId
```
int16 Request::msgId
```
**Description:**
Message ID
## msgValue
```
uint32 Request::msgValue
```
**Description:**
Message value, which is defined by developers
## **Overview**
**Related Modules:**
[Samgr](samgr.md)
**Description:**
Defines a request.
You can use this structure to define the request that will be sent to a feature through the asynchronous function of [IUnknown](iunknown.md). [Request](request.md), which is data that is packed to send to a feature. If the data is not empty and the length is not 0, the system automatically releases the data.
## **Summary**
## Data Fields
## **Details**
## **Field Documentation**
## data
```
void* Request::data
```
**Description:**
Data content
## len
```
int16 Request::len
```
**Description:**
Data length
## msgId
```
int16 Request::msgId
```
**Description:**
Message ID
## msgValue
```
uint32 Request::msgValue
```
**Description:**
Message value, which is defined by developers
点赞
回复
X