AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
List of all members
alexaClientSDK::captions::test::MockCaptionPresenter Class Reference

#include <MockCaptionPresenter.h>

Inheritance diagram for alexaClientSDK::captions::test::MockCaptionPresenter:
Inheritance graph
Collaboration diagram for alexaClientSDK::captions::test::MockCaptionPresenter:
Collaboration graph

Public Member Functions

CaptionPresenterInterface methods
 MOCK_METHOD2 (onCaptionActivity, void(const CaptionFrame &, avsCommon::avs::FocusState))
 MOCK_METHOD1 (getWrapIndex, std::pair< bool, int >(const CaptionLine &))
- Public Member Functions inherited from alexaClientSDK::captions::CaptionPresenterInterface
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

Detailed Description

A mock CaptionPresenter for validating client-side expectations.

Member Function Documentation


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  

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0