 |
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Go to the documentation of this file.
16 #ifndef ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_AUTHOBSERVER_H_
17 #define ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_AUTHOBSERVER_H_
20 #include <condition_variable>
26 namespace integration {
38 const std::chrono::seconds = std::chrono::seconds(20));
44 std::condition_variable m_wakeTrigger;
50 #endif // ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_AUTHOBSERVER_H_
AuthObserverInterface::State getAuthState() const
Definition: AuthObserver.cpp:37
Error
The enum Error encodes possible errors which may occur when changing state.
Definition: AuthObserverInterface.h:48
AuthObserver()
Definition: AuthObserver.cpp:24
bool waitFor(const avsCommon::sdkInterfaces::AuthObserverInterface::State, const std::chrono::seconds=std::chrono::seconds(20))
Definition: AuthObserver.cpp:41
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: AuthObserverInterface.h:31
void onAuthStateChange(const avsCommon::sdkInterfaces::AuthObserverInterface::State, const avsCommon::sdkInterfaces::AuthObserverInterface::Error=avsCommon::sdkInterfaces::AuthObserverInterface::Error::SUCCESS) override
Definition: AuthObserver.cpp:29
State
The enum State describes the state of authorization.
Definition: AuthObserverInterface.h:34
Definition: AuthObserver.h:28
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0