![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MockCaptionPresenter.h>
Public Member Functions | |
CaptionPresenterInterface methods | |
MOCK_METHOD2 (onCaptionActivity, void(const CaptionFrame &, avsCommon::avs::FocusState)) | |
MOCK_METHOD1 (getWrapIndex, std::pair< bool, int >(const CaptionLine &)) | |
![]() | |
virtual | ~CaptionPresenterInterface ()=default |
virtual void | onCaptionActivity (const captions::CaptionFrame &captionFrame, avsCommon::avs::FocusState activityType)=0 |
virtual std::pair< bool, int > | getWrapIndex (const captions::CaptionLine &captionLine)=0 |
A mock CaptionPresenter for validating client-side expectations.
alexaClientSDK::captions::test::MockCaptionPresenter::MOCK_METHOD1 | ( | getWrapIndex | , |
std::pair< bool, int > | const CaptionLine & | ||
) |
alexaClientSDK::captions::test::MockCaptionPresenter::MOCK_METHOD2 | ( | onCaptionActivity | , |
void(const CaptionFrame &, avsCommon::avs::FocusState) | |||
) |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0