AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Class that can be used to wait for an event. More...
Public Member Functions | |
void | wakeUp () |
Wake up a thread that is waiting for this event. More... | |
std::cv_status | wait (const std::chrono::milliseconds &timeout=DEFAULT_TIMEOUT) |
Static Public Attributes | |
static const std::chrono::seconds | DEFAULT_TIMEOUT {10} |
The default timeout for an expected event. More... | |
Class that can be used to wait for an event.
std::cv_status alexaClientSDK::mediaPlayer::android::test::WaitEvent::wait | ( | const std::chrono::milliseconds & | timeout = DEFAULT_TIMEOUT | ) |
Wait for wake up event.
timeout | The maximum amount of time to wait for the event. |
void alexaClientSDK::mediaPlayer::android::test::WaitEvent::wakeUp | ( | ) |
Wake up a thread that is waiting for this event.
|
static |
The default timeout for an expected event.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0