|
| using | DeviceAttributes = acsdkBluetoothInterfaces::BluetoothDeviceObserverInterface::DeviceAttributes |
| |
| enum | DialogUXState {
DialogUXState::IDLE,
DialogUXState::LISTENING,
DialogUXState::EXPECTING,
DialogUXState::THINKING,
DialogUXState::SPEAKING,
DialogUXState::FINISHED
} |
| | The different dialog specific AVS UX states. More...
|
| |
| enum | State {
State::UNINITIALIZED,
State::REFRESHED,
State::EXPIRED,
State::UNRECOVERABLE_ERROR,
State::AUTHORIZING
} |
| | The enum State describes the state of authorization. More...
|
| |
| enum | Error {
Error::SUCCESS,
Error::UNKNOWN_ERROR,
Error::AUTHORIZATION_FAILED,
Error::UNAUTHORIZED_CLIENT,
Error::SERVER_ERROR,
Error::INVALID_REQUEST,
Error::INVALID_VALUE,
Error::AUTHORIZATION_EXPIRED,
Error::UNSUPPORTED_GRANT_TYPE,
Error::INVALID_CODE_PAIR,
Error::AUTHORIZATION_PENDING,
Error::SLOW_DOWN,
Error::INTERNAL_ERROR,
Error::INVALID_CBL_CLIENT_ID
} |
| | The enum Error encodes possible errors which may occur when changing state. More...
|
| |
| enum | State { State::UNINITIALIZED,
State::SUCCESS,
State::FATAL_ERROR,
State::RETRIABLE_ERROR
} |
| | The enum State describes the state of the CapabilitiesDelegate. More...
|
| |
| enum | Error {
Error::UNINITIALIZED,
Error::SUCCESS,
Error::UNKNOWN_ERROR,
Error::CANCELED,
Error::FORBIDDEN,
Error::SERVER_INTERNAL_ERROR,
Error::BAD_REQUEST
} |
| | The enum Error encodes possible errors which may occur when changing state. More...
|
| |
| enum | Status { Status::DISCONNECTED,
Status::PENDING,
Status::CONNECTED
} |
| |
| enum | ChangedReason {
ChangedReason::NONE,
ChangedReason::SUCCESS,
ChangedReason::UNRECOVERABLE_ERROR,
ChangedReason::ACL_CLIENT_REQUEST,
ChangedReason::ACL_DISABLED,
ChangedReason::DNS_TIMEDOUT,
ChangedReason::CONNECTION_TIMEDOUT,
ChangedReason::CONNECTION_THROTTLED,
ChangedReason::INVALID_AUTH,
ChangedReason::PING_TIMEDOUT,
ChangedReason::WRITE_TIMEDOUT,
ChangedReason::READ_TIMEDOUT,
ChangedReason::FAILURE_PROTOCOL_ERROR,
ChangedReason::INTERNAL_ERROR,
ChangedReason::SERVER_INTERNAL_ERROR,
ChangedReason::SERVER_SIDE_DISCONNECT,
ChangedReason::SERVER_ENDPOINT_CHANGED
} |
| |
| enum | Source { Source::DIRECTIVE,
Source::LOCAL_API,
Source::EXTERNAL_CLIENT
} |
| | Indicates whether the source of the call is from an AVS Directive or through a Local API call. More...
|
| |
|
| void | printDoNotDisturbScreen () |
| |
| void | printDiagnosticsScreen () |
| |
| void | printDevicePropertiesScreen () |
| |
| void | printAllDeviceProperties (const std::unordered_map< std::string, std::string > &deviceProperties) |
| |
| void | printDeviceProtocolTracerScreen () |
| |
| void | printProtocolTrace (const std::string &protocolTrace) |
| |
| void | printProtocolTraceFlag (bool enabled) |
| |
| void | printAudioInjectionScreen () |
| |
| void | printAudioInjectionFailureMessage () |
| |
|
| void | onDialogUXStateChanged (DialogUXState state) override |
| |
|
| void | onConnectionStatusChanged (const Status status, const ChangedReason reason) override |
| |
|
| void | onSettingChanged (const std::string &key, const std::string &value) override |
| |
|
| void | onSpeakerSettingsChanged (const avsCommon::sdkInterfaces::SpeakerManagerObserverInterface::Source &source, const avsCommon::sdkInterfaces::ChannelVolumeInterface::Type &type, const avsCommon::sdkInterfaces::SpeakerInterface::SpeakerSettings &settings) override |
| |
|
|
| void | onSetIndicator (avsCommon::avs::IndicatorState state) override |
| |
| void | onNotificationReceived () override |
| |
|
|
| void | printMessage (const std::string &message) override |
| |
|
|
| void | onAuthStateChange (avsCommon::sdkInterfaces::AuthObserverInterface::State newState, avsCommon::sdkInterfaces::AuthObserverInterface::Error newError) override |
| |
|
|
| void | onCapabilitiesStateChange (avsCommon::sdkInterfaces::CapabilitiesDelegateObserverInterface::State newState, avsCommon::sdkInterfaces::CapabilitiesDelegateObserverInterface::Error newError, const std::vector< avsCommon::sdkInterfaces::endpoints::EndpointIdentifier > &addedOrUpdatedEndpoints, const std::vector< avsCommon::sdkInterfaces::endpoints::EndpointIdentifier > &deletedEndpoints) override |
| |
|
|
| void | onActiveDeviceConnected (const DeviceAttributes &deviceAttributes) override |
| |
| void | onActiveDeviceDisconnected (const DeviceAttributes &deviceAttributes) override |
| |
| void | printWelcomeScreen () |
| | } More...
|
| |
| void | printHelpScreen () |
| |
| void | printLimitedHelp () |
| |
| void | printAudioInjectionHeader () |
| |
| void | printSettingsScreen () |
| |
| void | printEndpointModificationScreen () |
| |
| void | printEndpointModificationError (const std::string &message) |
| |
| void | printEndpointControllerScreen () |
| |
| void | printLocaleScreen () |
| |
| void | printPowerControllerScreen () |
| |
| void | printToggleControllerScreen () |
| |
| void | printModeControllerScreen () |
| |
| void | printRangeControllerScreen () |
| |
| void | printSpeakerControlScreen () |
| |
| void | printFirmwareVersionControlScreen () |
| |
| void | printVolumeControlScreen () |
| |
| void | printErrorScreen () |
| |
| void | microphoneOff () |
| |
| void | microphoneOn () |
| |
| void | printResetWarning () |
| |
| void | printResetConfirmation () |
| |
| void | printReauthorizeConfirmation () |
| |
| void | printCommsNotSupported () |
| |
| bool | configureSettingsNotifications (std::shared_ptr< settings::DeviceSettingsManager > settingsManager) |
| |
| void | printAlarmVolumeRampScreen () |
| |
| void | printWakeWordConfirmationScreen () |
| |
| void | printSpeechConfirmationScreen () |
| |
| void | printTimeZoneScreen () |
| |
| void | printNetworkInfoScreen () |
| |
|
| void | printNetworkInfoConnectionTypePrompt () |
| |
| void | printNetworkInfoESSIDPrompt () |
| |
| void | printNetworkInfoBSSIDPrompt () |
| |
| void | printNetworkInfoIpPrompt () |
| |
| void | printNetworkInfoSubnetPrompt () |
| |
| void | printNetworkInfoMacPrompt () |
| |
| void | printNetworkInfoDHCPPrompt () |
| |
| void | printNetworkInfoStaticIpPrompt () |
| |
| virtual | ~DialogUXStateObserverInterface ()=default |
| |
| virtual void | onDialogUXStateChanged (DialogUXState newState)=0 |
| |
| virtual | ~AuthObserverInterface ()=default |
| |
| virtual | ~CapabilitiesDelegateObserverInterface ()=default |
| |
| virtual void | onCapabilitiesStateChange (State newState, Error newError, const std::vector< std::string > &addedOrUpdatedEndpointIds, const std::vector< std::string > &deletedEndpointIds)=0 |
| |
| virtual | ~ConnectionStatusObserverInterface ()=default |
| |
| virtual void | onConnectionStatusChanged (const Status status, const std::vector< EngineConnectionStatus > &engineStatuses) |
| |
| virtual | ~SingleSettingObserverInterface ()=default |
| |
| virtual | ~SpeakerManagerObserverInterface ()=default |
| |
| virtual | ~NotificationsObserverInterface ()=default |
| |
| virtual | ~BluetoothDeviceObserverInterface ()=default |
| |
| virtual | ~UIManagerInterface ()=default |
| |
This class manages the states that the user will see when interacting with the Sample Application. For now, it simply prints states to the screen.