|
void | onDialogUXStateChanged (DialogUXState newState) override |
|
avsCommon::avs::DirectiveHandlerConfiguration | getConfiguration () const override |
|
void | addObserver (std::shared_ptr< SpeechSynthesizerObserverInterface > observer) |
|
void | removeObserver (std::shared_ptr< SpeechSynthesizerObserverInterface > observer) |
|
void | onDeregistered () override |
|
void | handleDirectiveImmediately (std::shared_ptr< avsCommon::avs::AVSDirective > directive) override |
|
void | preHandleDirective (std::shared_ptr< DirectiveInfo > info) override |
|
void | handleDirective (std::shared_ptr< DirectiveInfo > info) override |
|
void | cancelDirective (std::shared_ptr< DirectiveInfo > info) override |
|
void | provideState (const avsCommon::avs::NamespaceAndName &stateProviderName, const unsigned int stateRequestToken) override |
|
void | onContextAvailable (const std::string &jsonContext) override |
|
void | onContextFailure (const avsCommon::sdkInterfaces::ContextRequestError error) override |
|
|
void | onFocusChanged (avsCommon::avs::FocusState newFocus, avsCommon::avs::MixingBehavior behavior) override |
|
|
void | onFirstByteRead (SourceId id, const avsCommon::utils::mediaPlayer::MediaPlayerState &state) override |
|
void | onPlaybackStarted (SourceId id, const avsCommon::utils::mediaPlayer::MediaPlayerState &state) override |
|
void | onPlaybackFinished (SourceId id, const avsCommon::utils::mediaPlayer::MediaPlayerState &state) override |
|
void | onPlaybackError (SourceId id, const avsCommon::utils::mediaPlayer::ErrorType &type, std::string error, const avsCommon::utils::mediaPlayer::MediaPlayerState &state) override |
|
void | onPlaybackStopped (SourceId id, const avsCommon::utils::mediaPlayer::MediaPlayerState &state) override |
|
void | onBufferUnderrun (SourceId id, const avsCommon::utils::mediaPlayer::MediaPlayerState &state) override |
|
|
std::unordered_set< std::shared_ptr< avsCommon::avs::CapabilityConfiguration > > | getCapabilityConfigurations () override |
|
virtual | ~CapabilityAgent ()=default |
|
void | preHandleDirective (std::shared_ptr< AVSDirective > directive, std::unique_ptr< sdkInterfaces::DirectiveHandlerResultInterface > result) override final |
|
bool | handleDirective (const std::string &messageId) override final |
|
void | cancelDirective (const std::string &messageId) override final |
|
Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::DirectiveHandlerInterface |
virtual | ~DirectiveHandlerInterface ()=default |
|
virtual void | preHandleDirective (std::shared_ptr< avsCommon::avs::AVSDirective > directive, std::unique_ptr< DirectiveHandlerResultInterface > result)=0 |
|
virtual | ~ChannelObserverInterface ()=default |
|
virtual | ~StateProviderInterface ()=default |
|
virtual void | provideState (const avs::CapabilityTag &stateProviderName, const ContextRequestToken stateRequestToken) |
|
virtual bool | canStateBeRetrieved () |
|
virtual bool | hasReportableStateProperties () |
|
virtual bool | shouldQueryState () |
|
virtual | ~ContextRequesterInterface ()=default |
|
virtual void | onContextAvailable (const endpoints::EndpointIdentifier &endpointId, const avs::AVSContext &endpointContext, ContextRequestToken requestToken) |
|
virtual void | onContextFailure (const ContextRequestError error, ContextRequestToken token) |
|
virtual | ~DialogUXStateObserverInterface ()=default |
|
virtual | ~CapabilityConfigurationInterface ()=default |
|
virtual | ~MediaPlayerObserverInterface ()=default |
|
virtual void | onFirstByteRead (SourceId id, const MediaPlayerState &state)=0 |
|
virtual void | onPlaybackStarted (SourceId id, const MediaPlayerState &state)=0 |
|
virtual void | onPlaybackFinished (SourceId id, const MediaPlayerState &state)=0 |
|
virtual void | onPlaybackError (SourceId id, const ErrorType &type, std::string error, const MediaPlayerState &state)=0 |
|
virtual void | onPlaybackPaused (SourceId, const MediaPlayerState &) |
|
virtual void | onPlaybackResumed (SourceId, const MediaPlayerState &) |
|
virtual void | onPlaybackStopped (SourceId, const MediaPlayerState &) |
|
virtual void | onBufferUnderrun (SourceId, const MediaPlayerState &) |
|
virtual void | onBufferRefilled (SourceId, const MediaPlayerState &) |
|
virtual void | onBufferingComplete (SourceId, const MediaPlayerState &) |
|
virtual void | onSeeked (SourceId, const MediaPlayerState &, const MediaPlayerState &) |
|
virtual void | onTags (SourceId, std::unique_ptr< const VectorOfTags >, const MediaPlayerState &) |
|
| RequiresShutdown (const std::string &name) |
|
virtual | ~RequiresShutdown () |
| Destructor. More...
|
|
const std::string & | name () const |
|
void | shutdown () |
|
bool | isShutdown () const |
|
Used to notify the observer of the Channel of focus changes. Once called, the client should make a user observable change only and return immediately. Any additional work that needs to be done should be done on a separate thread or after returning. "User observable change" here refers to events that the end user of the product can visibly see or hear. For example, Alexa speech or music playing would be examples of user observable changes. Other work, such as database storing, logging, or communicating via network should be done on a different thread. Not doing so could result in delays for other clients trying to access the Channel.
- Parameters
-
newFocus | The new Focus of the channel. |
behavior | The mixingBehavior for the ChannelObserver to take as per the interrupt model |
- Note
- when newFocus is FocusState::FOREGROUND, the MixingBehavior shall be guaranteed to be PRIMARY when newFocus is FocusState::NONE, the MixingBehavior shall be guaranteed to be MUST_STOP
Reimplemented from alexaClientSDK::avsCommon::avs::CapabilityAgent.