want.h

Overview

Related Modules:

AbilityKit

Description:

Declares the structure that provides abstract description of the operation to be performed, including the ability information and the carried data, and functions for setting data in the structure.

You can use functions provided in this file to specify information about the ability to start.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

Want

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

Functions

Function Name

Description

ClearWant (Want want)

void 

Clears the memory of a specified Want object.

SetWantElement (Want want, ElementName element)

bool 

Sets the element variable for a specified Want object.

SetWantData (Want want, const void data, uint16_t dataLength)

bool 

Sets data to carry in a specified Want object for starting a particular ability.

SetWantSvcIdentity (Want want, SvcIdentity sid)

bool 

Sets the sid member variable for a specified Want object.

WantToUri (Want want)

const char  

Converts a specified Want object into a character string.

WantParseUri (const char uri)

Want  

Converts a specified character string into a Want object.