CapabilityEvent.
More...
#include <capability.hh>
◆ getName()
std::string NuguClientKit::CapabilityEvent::getName |
( |
| ) |
|
Get event name.
- Returns
- event name
◆ getDialogRequestId()
std::string NuguClientKit::CapabilityEvent::getDialogRequestId |
( |
| ) |
|
Get dialog request id.
- Returns
- dialog request id
◆ getMessageId()
std::string NuguClientKit::CapabilityEvent::getMessageId |
( |
| ) |
|
Get message id.
- Returns
- message id
◆ setDialogRequestId()
void NuguClientKit::CapabilityEvent::setDialogRequestId |
( |
const std::string & |
id | ) |
|
Set dialog request id.
- Parameters
-
◆ setType()
Set event type.
- Parameters
-
◆ setMimeType()
void NuguClientKit::CapabilityEvent::setMimeType |
( |
const std::string & |
type | ) |
|
Set mime type.
- Parameters
-
◆ sendEvent()
void NuguClientKit::CapabilityEvent::sendEvent |
( |
const std::string & |
context, |
|
|
const std::string & |
payload |
|
) |
| |
Send event to server.
- Parameters
-
[in] | context | context info |
[in] | payload | payload info |
◆ sendAttachmentEvent()
void NuguClientKit::CapabilityEvent::sendAttachmentEvent |
( |
bool |
is_end, |
|
|
size_t |
size, |
|
|
unsigned char * |
data |
|
) |
| |
Send attachment event to server.
- Parameters
-
[in] | is_end | whether final attachment event |
[in] | size | attachment data size |
[in] | data | attachment data |
The documentation for this class was generated from the following file: