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

#include <ExternalMediaPlayerObserverInterface.h>

Inheritance diagram for alexaClientSDK::avsCommon::sdkInterfaces::externalMediaPlayer::ExternalMediaPlayerObserverInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~ExternalMediaPlayerObserverInterface ()=default
 
virtual void onLoginStateProvided (const std::string &playerId, const avsCommon::sdkInterfaces::externalMediaPlayer::ObservableSessionProperties sessionStateProperties)=0
 
virtual void onPlaybackStateProvided (const std::string &playerId, const avsCommon::sdkInterfaces::externalMediaPlayer::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::avsCommon::sdkInterfaces::externalMediaPlayer::ExternalMediaPlayerObserverInterface::~ExternalMediaPlayerObserverInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ onLoginStateProvided()

virtual void alexaClientSDK::avsCommon::sdkInterfaces::externalMediaPlayer::ExternalMediaPlayerObserverInterface::onLoginStateProvided ( const std::string &  playerId,
const avsCommon::sdkInterfaces::externalMediaPlayer::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

◆ onPlaybackStateProvided()

virtual void alexaClientSDK::avsCommon::sdkInterfaces::externalMediaPlayer::ExternalMediaPlayerObserverInterface::onPlaybackStateProvided ( const std::string &  playerId,
const avsCommon::sdkInterfaces::externalMediaPlayer::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

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

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