![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <InterruptModel.h>
Public Member Functions | |
avsCommon::avs::MixingBehavior | getMixingBehavior (const std::string &lowPriorityChannel, avsCommon::avs::ContentType lowPriorityContentType, const std::string &highPriorityChannel, avsCommon::avs::ContentType highPriorityContentType) const |
Static Public Member Functions | |
static std::shared_ptr< InterruptModel > | createInterruptModel (const std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode > &config) |
static std::shared_ptr< InterruptModel > | create (avsCommon::utils::configuration::ConfigurationNode interactionConfiguration) |
This class contains the interrupt model implementation for the device. This class uses the InterruptModelConfiguration
passed in during creation to determine the MixingBehavior During Focus State transitions, the AFML shall invoke this class to determine the MixingBehavior to be taken by the ChannelObservers corresponding to the lower priority channel being backgrounded when a higher priority channel barges-in.
|
static |
Creates an instance of InterruptModel
interactionConfiguration | interrupt model configuration for device. |
InterruptModel
.
|
static |
Creates an instance of InterruptModel
config | Root configuration node. |
InterruptModel
. avsCommon::avs::MixingBehavior alexaClientSDK::afml::interruptModel::InterruptModel::getMixingBehavior | ( | const std::string & | lowPriorityChannel, |
avsCommon::avs::ContentType | lowPriorityContentType, | ||
const std::string & | highPriorityChannel, | ||
avsCommon::avs::ContentType | highPriorityContentType | ||
) | const |
get Mixing Behavior for the lower priority channel
lowPriorityChannel | the lower priority channel |
lowPriorityContentType | the current content type |
highPriorityChannel | the channel barging in |
highPriorityContentType | the content type barging in |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0