Want

Overview

Related Modules:

AbilityKit

Description:

Defines the abstract description of an operation, including information about the ability and the extra data to carry.

Summary

Data Fields

Variable Name

Description

element

ElementName  

sid

SvcIdentity  

data

void * 

dataLength

uint16_t 

Details

Field Documentation

data

  1. void* Want::data

Description:

Pointer to the carried data

dataLength

  1. uint16_t Want::dataLength

Description:

Data length

element

  1. [ElementName]($api-api-SmartVision-Devices-ElementName.md)* Want::element

Description:

Pointer to the ability information, including the device ID, bundle name, and class name.

sid

  1. 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.