#include <VisualTimeoutManagerInterface.h>
◆ VisualTimeoutCallback
◆ VisualTimeoutId
◆ ~VisualTimeoutManagerInterface()
virtual alexaClientSDK::presentationOrchestratorInterfaces::VisualTimeoutManagerInterface::~VisualTimeoutManagerInterface |
( |
| ) |
|
|
virtualdefault |
◆ requestTimeout()
virtual VisualTimeoutId alexaClientSDK::presentationOrchestratorInterfaces::VisualTimeoutManagerInterface::requestTimeout |
( |
std::chrono::milliseconds |
delay, |
|
|
VisualTimeoutCallback |
timeoutCallback |
|
) |
| |
|
pure virtual |
Creates a timeout, replaces any existing timeout which was registered
- Parameters
-
delay | The time which must elapse before the timeout is fired |
timeoutCallback | The callback which will be fired upon the timeout expiring |
- Returns
- An identifier uniquely identifying this timeout
◆ stopTimeout()
virtual bool alexaClientSDK::presentationOrchestratorInterfaces::VisualTimeoutManagerInterface::stopTimeout |
( |
VisualTimeoutId |
timeoutId | ) |
|
|
pure virtual |
Stops a running timeout
- Parameters
-
timeoutId | The identifier returned in the call to requestTimeout |
- Returns
- true if the timeout was stopped, false if this timeoutId does not match the id generated by the last call to requestTimeout
The documentation for this class was generated from the following file:
- /workplace/avs-device-sdk/shared/PresentationOrchestrator/PresentationOrchestratorInterfaces/include/acsdk/PresentationOrchestratorInterfaces/VisualTimeoutManagerInterface.h
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0