![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <RemoteVideoPlayerInterface.h>
Classes | |
struct | Response |
Public Member Functions | |
virtual | ~RemoteVideoPlayerInterface ()=default |
virtual Response | playVideo (std::unique_ptr< RemoteVideoPlayerRequest > request)=0 |
virtual Response | displaySearchResults (std::unique_ptr< RemoteVideoPlayerRequest > request)=0 |
virtual Configuration | getConfiguration ()=0 |
The RemoteVideoPlayerInterface carries out remote video player actions such playing video content requested by the user, or displaying results for a user query.
|
virtualdefault |
Virtual destructor to assure proper cleanup of derived types.
|
pure virtual |
Display results in response to a user query.
request | The request for the search and display results directive. |
RemoteVideoPlayerInterface::Response.type
should return SUCCESS if no errors were encountered. Otherwise, RemoteVideoPlayerInterface::Response.type
should contain the corresponding error code along with a log message in RemoteVideoPlayerInterface::Response.errorMessage
.
|
pure virtual |
Returns the Remote Video Player configuration.
Configuration
object that contains the supported directive types, entity types and catalog information. Implemented in alexaClientSDK::sampleApplications::common::EndpointAlexaRemoteVideoPlayerHandler.
|
pure virtual |
Play video content based on a user request.
request | The request for the search and play directive. |
RemoteVideoPlayerInterface::Response.type
should return SUCCESS if no errors were encountered. Otherwise, RemoteVideoPlayerInterface::Response.type
should contain the corresponding error code along with a log message in RemoteVideoPlayerInterface::Response.errorMessage
. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0