AlexaClientSDK  1.19.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::capabilityAgents::audioPlayer::test::TestAudioPlayerObserver Class Reference
Inheritance diagram for alexaClientSDK::capabilityAgents::audioPlayer::test::TestAudioPlayerObserver:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilityAgents::audioPlayer::test::TestAudioPlayerObserver:
Collaboration graph
[legend]

Public Member Functions

 TestAudioPlayerObserver ()
 
bool waitFor (PlayerActivity activity, std::chrono::milliseconds timeout)
 
void onPlayerActivityChanged (avsCommon::avs::PlayerActivity state, const Context &context) override
 
PlayRequestor getPlayRequestorObject ()
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::AudioPlayerObserverInterface
virtual ~AudioPlayerObserverInterface ()=default
 

Constructor & Destructor Documentation

◆ TestAudioPlayerObserver()

alexaClientSDK::capabilityAgents::audioPlayer::test::TestAudioPlayerObserver::TestAudioPlayerObserver ( )
inline

Member Function Documentation

◆ getPlayRequestorObject()

PlayRequestor alexaClientSDK::capabilityAgents::audioPlayer::test::TestAudioPlayerObserver::getPlayRequestorObject ( )
inline

◆ onPlayerActivityChanged()

void alexaClientSDK::capabilityAgents::audioPlayer::test::TestAudioPlayerObserver::onPlayerActivityChanged ( avsCommon::avs::PlayerActivity  state,
const Context context 
)
inlineoverridevirtual

Used to notify the observer when the AudioPlayer has a change in PlayerActivity.

Parameters
stateThe PlayerActivity of the AudioPlayer.
contextThe Context of the AudioPlayer.

Implements alexaClientSDK::avsCommon::sdkInterfaces::AudioPlayerObserverInterface.

◆ waitFor()

bool alexaClientSDK::capabilityAgents::audioPlayer::test::TestAudioPlayerObserver::waitFor ( PlayerActivity  activity,
std::chrono::milliseconds  timeout 
)
inline

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

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