![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TemplateRuntimePresentationAdapterObserverInterface.h>
Public Member Functions | |
virtual | ~TemplateRuntimePresentationAdapterObserverInterface ()=default |
virtual void | renderTemplateCard (const std::string &jsonPayload)=0 |
virtual void | renderPlayerInfoCard (const std::string &jsonPayload, templateRuntimeInterfaces::TemplateRuntimeObserverInterface::AudioPlayerInfo audioPlayerInfo)=0 |
virtual void | clearRenderTemplateCard ()=0 |
virtual void | clearPlayerInfoCard ()=0 |
An contract fulfilled by user interface to present the template runtime cards.
|
virtualdefault |
Destructor.
|
pure virtual |
Used to notify when the player info card should be cleared.
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge, and alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::TemplateRuntimeHandler.
|
pure virtual |
Used to notify when the render template card should be cleared.
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge, and alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::TemplateRuntimeHandler.
|
pure virtual |
Used to notify when a RenderPlayerInfo presentation is ready to display. Once called, the client should render the PlayerInfo display card based on the metadata provided in the payload in structured JSON format.
jsonPayload | The payload of the RenderPlayerInfo directive in structured JSON format. |
audioPlayerInfo | Information on the AudioPlayer . |
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge, and alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::TemplateRuntimeHandler.
|
pure virtual |
Used to notify when a RenderTemplate presentation is ready to display. Once called, the client should render the Template display card based on the metadata provided in the payload in structured JSON format.
jsonPayload | The payload of the RenderTemplate directive in structured JSON format. |
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge, and alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::TemplateRuntimeHandler.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0