![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <CallStateObserverInterface.h>
Classes | |
struct | CallStateInfo |
An struct containing call state information. More... | |
Public Types | |
enum | CallState { CallState::CONNECTING, CallState::INBOUND_RINGING, CallState::CALL_CONNECTED, CallState::CALL_DISCONNECTED, CallState::NONE } |
An enumeration representing the state of a call. More... | |
typedef struct alexaClientSDK::avsCommon::sdkInterfaces::CallStateObserverInterface::CallStateInfo | CallStateInfo |
An struct containing call state information. More... | |
Public Member Functions | |
virtual | ~CallStateObserverInterface ()=default |
virtual void | onCallStateChange (CallState state)=0 |
virtual void | onCallStateInfoChange (const CallStateInfo &stateInfo) |
Static Public Member Functions | |
static bool | isStateActive (const CallStateObserverInterface::CallState &state) |
An interface to allow being notified of changes to the state of a call.
typedef struct alexaClientSDK::avsCommon::sdkInterfaces::CallStateObserverInterface::CallStateInfo alexaClientSDK::avsCommon::sdkInterfaces::CallStateObserverInterface::CallStateInfo |
An struct containing call state information.
An enumeration representing the state of a call.
|
virtualdefault |
Destructor
|
inlinestatic |
Checks the state of the provided call state to determine if a call is in an "active" state Active states are: CONNECTING INBOUND_RINGING CALL_CONNETED
state | The new CallState. |
|
pure virtual |
Allows the observer to react to a change in call state.
state | The new CallState. |
Implemented in alexaClientSDK::sampleApplications::common::InteractionManager, and alexaClientSDK::capabilityAgents::mrm::MRMCapabilityAgent.
|
inlinevirtual |
Allows the observer to react to a change in call state info.
stateInfo | The new CallStateInfo. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0