16 #ifndef ALEXA_CLIENT_SDK_CAPTIONS_IMPLEMENTATION_INCLUDE_CAPTIONS_CAPTIONTIMINGADAPTER_H_ 17 #define ALEXA_CLIENT_SDK_CAPTIONS_IMPLEMENTATION_INCLUDE_CAPTIONS_CAPTIONTIMINGADAPTER_H_ 46 std::shared_ptr<CaptionPresenterInterface> presenter,
47 std::shared_ptr<DelayInterface> delayInterface);
57 virtual void reset()
override;
58 virtual void start()
override;
59 virtual void stop()
override;
60 virtual void pause()
override;
68 void presentCaptionFramesJob();
73 void startCaptionFramesJob();
76 std::shared_ptr<CaptionPresenterInterface> m_presenter;
82 size_t m_currentCaptionFrameIndex;
85 bool m_isCurrentlyPresenting;
88 bool m_mediaHasBeenPaused;
91 std::vector<captions::CaptionFrame> m_captionFrames;
100 std::shared_ptr<DelayInterface> m_delayInterface;
106 #endif // ALEXA_CLIENT_SDK_CAPTIONS_IMPLEMENTATION_INCLUDE_CAPTIONS_CAPTIONTIMINGADAPTER_H_ virtual ~CaptionTimingAdapter() override
Definition: CaptionTimingAdapterInterface.h:32
virtual void queueForDisplay(const CaptionFrame &captionFrame, bool autostart) override
::std::string string
Definition: gtest-port.h:1097
virtual void pause() override
CaptionTimingAdapter(std::shared_ptr< CaptionPresenterInterface > presenter, std::shared_ptr< DelayInterface > delayInterface)
Definition: CaptionFrame.h:33
virtual void reset() override
virtual void stop() override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual void start() override
Definition: CaptionTimingAdapter.h:37