AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::APLClientHandlerInterface Class Referenceabstract

#include <APLClientHandlerInterface.h>

Inheritance diagram for alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::APLClientHandlerInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~APLClientHandlerInterface ()=default
 
virtual void initializeRenderersRequest (const std::string &message)=0
 
virtual void metricsReport (const std::string &message)=0
 
virtual void viewhostEvent (const std::string &message)=0
 
virtual void renderCompleted (const std::string &message)=0
 
virtual void renderDocumentRequest (const std::string &message)=0
 
virtual void executeCommandsRequest (const std::string &message)=0
 
virtual void clearDocumentRequest (const std::string &message)=0
 

Detailed Description

A contract to handle APLClient.

Constructor & Destructor Documentation

◆ ~APLClientHandlerInterface()

virtual alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::APLClientHandlerInterface::~APLClientHandlerInterface ( )
virtualdefault

Destructor

Member Function Documentation

◆ clearDocumentRequest()

virtual void alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::APLClientHandlerInterface::clearDocumentRequest ( const std::string &  message)
pure virtual

IPC Client sends this event to clear a local APL document rendered via renderDocumentRequest and release the native renderer.

Parameters
messageIncoming IPC message from the IPC client.

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge.

◆ executeCommandsRequest()

virtual void alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::APLClientHandlerInterface::executeCommandsRequest ( const std::string &  message)
pure virtual

IPC Client sends this event to initiate APL commands on a document rendered via renderDocumentRequest.

Parameters
messageIncoming IPC message from the IPC client.

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge.

◆ initializeRenderersRequest()

virtual void alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::APLClientHandlerInterface::initializeRenderersRequest ( const std::string &  message)
pure virtual

IPC Client sends this event to initialize any native APLClientRenderer instances required for the IPC client’s windows.

Parameters
messageIncoming IPC message from the IPC client.

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge.

◆ metricsReport()

virtual void alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::APLClientHandlerInterface::metricsReport ( const std::string &  message)
pure virtual

This event is sent from the APL IPC Viewhost to report APL Metrics defined in the Viewhost. Not intended to be manually invoked from the IPC client.

Parameters
messageIncoming IPC message from the IPC client.

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge.

◆ renderCompleted()

virtual void alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::APLClientHandlerInterface::renderCompleted ( const std::string &  message)
pure virtual

IPC Client sends this event when the IPC APL Viewhost has completed inflation of an APL document after receipt of a createRenderer directive.

Parameters
messageIncoming IPC message from the IPC client.

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge.

◆ renderDocumentRequest()

virtual void alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::APLClientHandlerInterface::renderDocumentRequest ( const std::string &  message)
pure virtual

IPC Client sends this event to initiate the local rendering of an APL document.

Parameters
messageIncoming IPC message from the IPC client.

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge.

◆ viewhostEvent()

virtual void alexaClientSDK::sampleApplications::ipcServerSampleApp::ipc::APLClientHandlerInterface::viewhostEvent ( const std::string &  message)
pure virtual

This event is sent from the APL IPC Viewhost for communicating with APLCore. Not intended to be manually invoked from the IPC client.

Parameters
messageIncoming IPC message from the IPC client.

Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge.


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

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