![]() |
AlexaClientSDK
1.22.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <CallStateObserverInterface.h>
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... | |
Public Member Functions | |
virtual | ~CallStateObserverInterface ()=default |
virtual void | onCallStateChange (CallState state)=0 |
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.
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::sampleApp::InteractionManager, and alexaClientSDK::capabilityAgents::mrm::MRMCapabilityAgent.
AlexaClientSDK 1.22.0 - Copyright 2016-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0