文件名称:
Want.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
3.56 KB
下载地址:
文本预览:
# Want
## **Overview**
**Related Modules:**
[AbilityKit](AbilityKit.md)
**Description:**
Defines the abstract description of an operation, including information about the ability and the extra data to carry.
## **Summary**
## Data Fields
## **Details**
## **Field Documentation**
## data
```
void* Want::data
```
**Description:**
Pointer to the carried data
## dataLength
```
uint16_t Want::dataLength
```
**Description:**
Data length
## element
```
[ElementName](ElementName.md)* Want::element
```
**Description:**
Pointer to the ability information, including the device ID, bundle name, and class name.
## sid
```
SvcIdentity* Want::sid
```
**Description:**
Pointer to the ID of the server that listens for ability startup. After the ability is started, the callback function corresponding to the server will be invoked.
## **Overview**
**Related Modules:**
[AbilityKit](AbilityKit.md)
**Description:**
Defines the abstract description of an operation, including information about the ability and the extra data to carry.
## **Summary**
## Data Fields
## **Details**
## **Field Documentation**
## data
```
void* Want::data
```
**Description:**
Pointer to the carried data
## dataLength
```
uint16_t Want::dataLength
```
**Description:**
Data length
## element
```
[ElementName](ElementName.md)* Want::element
```
**Description:**
Pointer to the ability information, including the device ID, bundle name, and class name.
## sid
```
SvcIdentity* Want::sid
```
**Description:**
Pointer to the ID of the server that listens for ability startup. After the ability is started, the callback function corresponding to the server will be invoked.
点赞
回复
X