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

#include <MockCaptionParser.h>

Inheritance diagram for alexaClientSDK::captions::test::MockCaptionParser:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::captions::test::MockCaptionParser:
Collaboration graph
[legend]

Public Member Functions

CaptionParserInterface methods
 MOCK_METHOD2 (parse, void(const CaptionFrame::MediaPlayerSourceId, const CaptionData &captionData))
 
 MOCK_METHOD1 (addListener, void(std::shared_ptr< CaptionFrameParseListenerInterface > parseListener))
 
 MOCK_METHOD1 (releaseResourcesFor, void(CaptionFrame::MediaPlayerSourceId))
 
- Public Member Functions inherited from alexaClientSDK::captions::CaptionParserInterface
virtual ~CaptionParserInterface ()=default
 
virtual void parse (CaptionFrame::MediaPlayerSourceId captionId, const CaptionData &captionData)=0
 
virtual void releaseResourcesFor (CaptionFrame::MediaPlayerSourceId captionId)=0
 
virtual void addListener (std::shared_ptr< CaptionFrameParseListenerInterface > parseListener)=0
 

Member Function Documentation

◆ MOCK_METHOD1() [1/2]

alexaClientSDK::captions::test::MockCaptionParser::MOCK_METHOD1 ( addListener  ,
void(std::shared_ptr< CaptionFrameParseListenerInterface > parseListener)   
)

◆ MOCK_METHOD1() [2/2]

alexaClientSDK::captions::test::MockCaptionParser::MOCK_METHOD1 ( releaseResourcesFor  ,
void(CaptionFrame::MediaPlayerSourceId  
)

◆ MOCK_METHOD2()

alexaClientSDK::captions::test::MockCaptionParser::MOCK_METHOD2 ( parse  ,
void(const CaptionFrame::MediaPlayerSourceId, const CaptionData &captionData)   
)

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

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