AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <SystemClockDelay.h>
Public Member Functions | |
DelayInterface methods | |
void | delay (std::chrono::milliseconds milliseconds) override |
Public Member Functions inherited from alexaClientSDK::captions::DelayInterface | |
virtual | ~DelayInterface ()=default |
Concrete implementation of the DelayInterface
, using std::this_thread::sleep_for()
.
|
overridevirtual |
When called, this function should cause a delay for the given number of milliseconds. This function can be overridden to allow for slower or faster delays if desired. The milliseconds
parameter should be checked that it is positive; no delay should occur if it is negative.
milliseconds | The amount of time to delay. |
Implements alexaClientSDK::captions::DelayInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0