#include <CallbackData.h>
Class to handle CURL callback data
◆ CallbackData() [1/2]
alexaClientSDK::avsCommon::utils::libcurlUtils::CallbackData::CallbackData |
( |
| ) |
|
|
default |
◆ CallbackData() [2/2]
alexaClientSDK::avsCommon::utils::libcurlUtils::CallbackData::CallbackData |
( |
const char * |
data | ) |
|
Constructor that initializes with a value.
◆ appendData() [1/2]
size_t alexaClientSDK::avsCommon::utils::libcurlUtils::CallbackData::appendData |
( |
const char * |
data, |
|
|
size_t |
dataSize |
|
) |
| |
This will append new data to the existing instance.
- Parameters
-
data | The data that needs to be appended. |
dataSize | The size of the data to be appended. |
- Returns
- The size of data that was appended.
◆ appendData() [2/2]
size_t alexaClientSDK::avsCommon::utils::libcurlUtils::CallbackData::appendData |
( |
const char * |
data | ) |
|
This will append new data to the existing instance.
- Parameters
-
data | The data that needs to be appended. |
- Returns
- The size of data that was appended.
◆ clearData()
void alexaClientSDK::avsCommon::utils::libcurlUtils::CallbackData::clearData |
( |
| ) |
|
This will clear the data.
◆ getData()
size_t alexaClientSDK::avsCommon::utils::libcurlUtils::CallbackData::getData |
( |
char * |
dataContainer, |
|
|
size_t |
dataSize |
|
) |
| |
Will return the callback data in the passed in container.
- Parameters
-
dataContainer | The container in which the callback data will be returned. |
dataSize | The expected size of the data to be returned. |
- Returns
- Size of the returned callback data.
◆ getSize()
size_t alexaClientSDK::avsCommon::utils::libcurlUtils::CallbackData::getSize |
( |
| ) |
|
Returns the callback data size.
- Returns
- Callback data size.
The documentation for this class was generated from the following file:
- /workplace/avs-device-sdk/AVSCommon/Utils/include/AVSCommon/Utils/LibcurlUtils/CallbackData.h
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0