![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <EndpointAlexaRemoteVideoPlayerHandler.h>
Public Member Functions | |
void | onFocusAcquired () |
RemoteVideoPlayerInterface methods | |
alexaRemoteVideoPlayerInterfaces::RemoteVideoPlayerInterface::Response | playVideo (std::unique_ptr< alexaRemoteVideoPlayerInterfaces::RemoteVideoPlayerRequest > request) override |
alexaRemoteVideoPlayerInterfaces::RemoteVideoPlayerInterface::Response | displaySearchResults (std::unique_ptr< alexaRemoteVideoPlayerInterfaces::RemoteVideoPlayerRequest > request) override |
alexaRemoteVideoPlayerInterfaces::Configuration | getConfiguration () override |
![]() | |
virtual | ~RemoteVideoPlayerInterface ()=default |
virtual Response | playVideo (std::unique_ptr< RemoteVideoPlayerRequest > request)=0 |
virtual Response | displaySearchResults (std::unique_ptr< RemoteVideoPlayerRequest > request)=0 |
Static Public Member Functions | |
static std::shared_ptr< EndpointAlexaRemoteVideoPlayerHandler > | create (std::string endpointName, std::shared_ptr< EndpointFocusAdapter > focusAdapter) |
Sample implementation of a Remote Video Player.
|
static |
Create an EndpointAlexaRemoteVideoPlayerHandler
object.
endpointName | The name of the endpoint. |
focusAdapter | The EndpointFocusAdapter to manage focus. |
EndpointAlexaRemoteVideoPlayerHandler
object if it succeeds; otherwise, nullptr
.
|
override |
|
overridevirtual |
Returns the Remote Video Player configuration.
Configuration
object that contains the supported directive types, entity types and catalog information. Implements alexaClientSDK::alexaRemoteVideoPlayerInterfaces::RemoteVideoPlayerInterface.
void alexaClientSDK::sampleApplications::common::EndpointAlexaRemoteVideoPlayerHandler::onFocusAcquired | ( | ) |
Actions performed when focus has been acquired. No OP in this stub implementation. Should invoke the video application to either start video playback or display search results.
|
override |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0