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

#include <ExternalMediaPlayerObserverInterface.h>

Inheritance diagram for alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerObserverInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~ExternalMediaPlayerObserverInterface ()=default
 
virtual void onLoginStateProvided (const std::string &playerId, const acsdkExternalMediaPlayerInterfaces::ObservableSessionProperties sessionStateProperties)=0
 
virtual void onPlaybackStateProvided (const std::string &playerId, const acsdkExternalMediaPlayerInterfaces::ObservablePlaybackStateProperties playbackStateProperties)=0
 

Detailed Description

This interface allows a derived class to know when a new Login or PlaybackState has been provided

Constructor & Destructor Documentation

◆ ~ExternalMediaPlayerObserverInterface()

virtual alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerObserverInterface::~ExternalMediaPlayerObserverInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ onLoginStateProvided()

virtual void alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerObserverInterface::onLoginStateProvided ( const std::string &  playerId,
const acsdkExternalMediaPlayerInterfaces::ObservableSessionProperties  sessionStateProperties 
)
pure virtual

This function is called when the login state is provided as a state observer

Parameters
playerIdthe ExternalMediaAdapter being reported on
sessionStatePropertiesthe observable session properties being reported

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

◆ onPlaybackStateProvided()

virtual void alexaClientSDK::acsdkExternalMediaPlayerInterfaces::ExternalMediaPlayerObserverInterface::onPlaybackStateProvided ( const std::string &  playerId,
const acsdkExternalMediaPlayerInterfaces::ObservablePlaybackStateProperties  playbackStateProperties 
)
pure virtual

This function is called when the playback state is provided as a state observer

Parameters
playerIdthe ExternalMediaAdapter being reported on
playbackStatePropertiesthe observable playback state properties being reported

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