16 #ifndef ACSDK_PROPERTIES_ERRORCALLBACKSETTER_H_ 17 #define ACSDK_PROPERTIES_ERRORCALLBACKSETTER_H_ 26 namespace properties {
66 const std::weak_ptr<ErrorCallbackInterface>& callback,
67 uint32_t maxRetries = DEFAULT_MAX_RETRIES,
68 std::weak_ptr<ErrorCallbackInterface>* previous =
nullptr) noexcept;
73 #endif // ACSDK_PROPERTIES_ERRORCALLBACKSETTER_H_ bool setErrorCallback(const std::weak_ptr< ErrorCallbackInterface > &callback, uint32_t maxRetries=DEFAULT_MAX_RETRIES, std::weak_ptr< ErrorCallbackInterface > *previous=nullptr) noexcept
Sets an error callback.
static constexpr uint32_t UNLIMITED_RETRIES
Unlimited number of retries when using error callback interface.
Definition: ErrorCallbackSetter.h:46
static constexpr uint32_t DEFAULT_MAX_RETRIES
Default number of retries when using error callback interface.
Definition: ErrorCallbackSetter.h:36
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36