AlexaClientSDK  1.25.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::captions::DelayInterface Class Referenceabstract

#include <DelayInterface.h>

Inheritance diagram for alexaClientSDK::captions::DelayInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~DelayInterface ()=default
 
virtual void delay (std::chrono::milliseconds milliseconds)=0
 

Detailed Description

A wrapper class to abstract away the delay call.

Constructor & Destructor Documentation

◆ ~DelayInterface()

virtual alexaClientSDK::captions::DelayInterface::~DelayInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ delay()

virtual void alexaClientSDK::captions::DelayInterface::delay ( std::chrono::milliseconds  milliseconds)
pure virtual

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.

Parameters
millisecondsThe amount of time to delay.

Implemented in alexaClientSDK::captions::SystemClockDelay.


The documentation for this class was generated from the following file:

AlexaClientSDK 1.25.0 - Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0