AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Functions | Variables
ErrorCallbackSetter.h File Reference
#include <cstdint>
#include <memory>
#include <string>
#include <acsdk/Properties/ErrorCallbackInterface.h>
Include dependency graph for ErrorCallbackSetter.h:

Go to the source code of this file.

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::properties
 Properties Implementation.
 

Functions

bool alexaClientSDK::properties::setErrorCallback (const std::weak_ptr< ErrorCallbackInterface > &callback, uint32_t maxRetries=DEFAULT_MAX_RETRIES, std::weak_ptr< ErrorCallbackInterface > *previous=nullptr) noexcept
 Sets an error callback. More...
 

Variables

static constexpr uint32_t alexaClientSDK::properties::DEFAULT_MAX_RETRIES = 16u
 Default number of retries when using error callback interface. More...
 
static constexpr uint32_t alexaClientSDK::properties::UNLIMITED_RETRIES = UINT32_MAX
 Unlimited number of retries when using error callback interface. More...
 

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0