![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <FocusManagerInterface.h>
Public Member Functions | |
bool | operator== (const Activity &rhs) |
const std::string | getInterface () const |
std::chrono::milliseconds | getPatienceDuration () const |
avsCommon::avs::ContentType | getContentType () const |
void | setContentType (avsCommon::avs::ContentType contentType) |
avsCommon::avs::MixingBehavior | getMixingBehavior () const |
std::shared_ptr< avsCommon::sdkInterfaces::ChannelObserverInterface > | getChannelObserver () const |
bool | notifyObserver (avs::FocusState focus, avsCommon::avs::MixingBehavior behavior) |
Static Public Member Functions | |
static std::shared_ptr< Activity > | create (const std::string &interfaceName, const std::shared_ptr< avsCommon::sdkInterfaces::ChannelObserverInterface > &channelObserver, const std::chrono::milliseconds &patienceDuration=std::chrono::milliseconds::zero(), const avsCommon::avs::ContentType contentType=avsCommon::avs::ContentType::NONMIXABLE) |
An activity representation of an entity that includes details of policy and patience duration that can acquire a channel.
If activity A has a patience duration greater than 0, and pushes the current activity B to background, activity B is eligible to be reinstated as foreground if activity A releases the channel before the duration of the patience has lapsed.
|
inlinestatic |
|
inline |
|
inline |
|
inline |
Returns the name of Activity's AVS interface.
|
inline |
|
inline |
|
inline |
Notifies the channel Observer of focus of Channel and Channel owner interface.
true
if observer was notified, else false
.
|
inline |
|
inline |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0