16 #ifndef ACSDK_SAMPLE_INTERACTIONMANAGER_UIMANAGER_H_ 17 #define ACSDK_SAMPLE_INTERACTIONMANAGER_UIMANAGER_H_ 21 #include <unordered_map> 46 namespace sampleApplications {
73 static std::shared_ptr<UIManager>
create(
74 const std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface>& localeAssetsManager,
75 const std::shared_ptr<avsCommon::utils::DeviceInfo>& deviceInfo);
123 const std::vector<avsCommon::sdkInterfaces::endpoints::EndpointIdentifier>& addedOrUpdatedEndpoints,
124 const std::vector<avsCommon::sdkInterfaces::endpoints::EndpointIdentifier>& deletedEndpoints)
override;
220 void printPhoneControlScreen();
225 void printCallerIdScreen();
230 void printCallIdScreen();
237 void printMeetingControlScreen();
242 void printSessionIdScreen();
247 void printCalendarItemsScreen();
254 void printCommsControlScreen();
259 void printDtmfScreen();
264 void printDtmfErrorScreen();
269 void printMuteCallScreen();
274 void printUnmuteCallScreen();
411 void setUIAuthNotifier(std::shared_ptr<acsdkSampleApplicationInterfaces::UIAuthNotifierInterface> uiAuthNotifier);
418 std::shared_ptr<acsdkSampleApplicationInterfaces::UIStateAggregatorInterface> uiStateAggregator);
428 const std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface>& localeAssetsManager,
429 const std::shared_ptr<avsCommon::utils::DeviceInfo>& deviceInfo);
444 void onBooleanSettingNotification(
467 template <
typename SettingType>
488 std::shared_ptr<avsCommon::sdkInterfaces::LocaleAssetsManagerInterface> m_localeAssetsManager;
497 std::shared_ptr<settings::SettingCallbacks<settings::DeviceSettingsManager>> m_callbacks;
503 std::shared_ptr<acsdkSampleApplicationInterfaces::UIStateAggregatorInterface> m_uiStateAggregator;
506 std::shared_ptr<acsdkSampleApplicationInterfaces::UIAuthNotifierInterface> m_uiAuthNotifier;
513 #endif // ACSDK_SAMPLE_INTERACTIONMANAGER_UIMANAGER_H_
void printNetworkInfoSubnetPrompt()
void printModeControllerScreen()
void printResetConfirmation()
void printNetworkInfoBSSIDPrompt()
ChangedReason
Definition: ConnectionStatusObserverInterface.h:50
void printDiagnosticsScreen()
void onDialogUXStateChanged(DialogUXState state) override
void printDeviceProtocolTracerScreen()
Definition: NotificationsObserverInterface.h:27
::std::string string
Definition: gtest-port.h:1097
void printAllDeviceProperties(const std::unordered_map< std::string, std::string > &deviceProperties)
Single-thread executor implementation.
Definition: Executor.h:45
void printNetworkInfoScreen()
State
The enum State describes the state of authorization.
Definition: AuthObserverInterface.h:34
Type
Definition: ChannelVolumeInterface.h:37
Error
The enum Error encodes possible errors which may occur when changing state.
Definition: CapabilitiesDelegateObserverInterface.h:44
void onAuthStateChange(avsCommon::sdkInterfaces::AuthObserverInterface::State newState, avsCommon::sdkInterfaces::AuthObserverInterface::Error newError) override
Definition: ConnectionStatusObserverInterface.h:31
void printNetworkInfoIpPrompt()
Definition: SingleSettingObserverInterface.h:27
void onSettingChanged(const std::string &key, const std::string &value) override
void printDevicePropertiesScreen()
void printAlarmVolumeRampScreen()
void printAudioInjectionFailureMessage()
void onActiveDeviceDisconnected(const DeviceAttributes &deviceAttributes) override
}
void onSetIndicator(avsCommon::avs::IndicatorState state) override
void printAudioInjectionHeader()
void printAudioInjectionScreen()
bool configureSettingsNotifications(std::shared_ptr< settings::DeviceSettingsManager > settingsManager)
static std::shared_ptr< UIManager > create(const std::shared_ptr< avsCommon::sdkInterfaces::LocaleAssetsManagerInterface > &localeAssetsManager, const std::shared_ptr< avsCommon::utils::DeviceInfo > &deviceInfo)
void printReauthorizeConfirmation()
Definition: BluetoothDeviceObserverInterface.h:28
void printEndpointModificationScreen()
DialogUXState
The different dialog specific AVS UX states.
Definition: DialogUXStateObserverInterface.h:32
void printVolumeControlScreen()
void printWakeWordConfirmationScreen()
void printNetworkInfoStaticIpPrompt()
void setUIAuthNotifier(std::shared_ptr< acsdkSampleApplicationInterfaces::UIAuthNotifierInterface > uiAuthNotifier)
void printProtocolTrace(const std::string &protocolTrace)
void onConnectionStatusChanged(const Status status, const ChangedReason reason) override
Definition: UIManagerInterface.h:24
void printNetworkInfoConnectionTypePrompt()
void printPowerControllerScreen()
void printRangeControllerScreen()
void printNetworkInfoESSIDPrompt()
Definition: AuthObserverInterface.h:31
Definition: CapabilitiesDelegateObserverInterface.h:29
void printNetworkInfoMacPrompt()
Definition: SpeakerManagerObserverInterface.h:32
void printToggleControllerScreen()
void printFirmwareVersionControlScreen()
void setUIStateAggregator(std::shared_ptr< acsdkSampleApplicationInterfaces::UIStateAggregatorInterface > uiStateAggregator)
void printSettingsScreen()
void onSpeakerSettingsChanged(const avsCommon::sdkInterfaces::SpeakerManagerObserverInterface::Source &source, const avsCommon::sdkInterfaces::ChannelVolumeInterface::Type &type, const avsCommon::sdkInterfaces::SpeakerInterface::SpeakerSettings &settings) override
Error
The enum Error encodes possible errors which may occur when changing state.
Definition: AuthObserverInterface.h:48
void printSpeechConfirmationScreen()
State
The enum State describes the state of the CapabilitiesDelegate.
Definition: CapabilitiesDelegateObserverInterface.h:32
Definition: SpeakerInterface.h:42
void printWelcomeScreen()
}
void printSpeakerControlScreen()
void printTimeZoneScreen()
void printCommsNotSupported()
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
void printEndpointModificationError(const std::string &message)
SettingNotifications
Definition: SettingObserverInterface.h:28
void printNetworkInfoDHCPPrompt()
IndicatorState
Definition: IndicatorState.h:30
type
Definition: upload.py:443
void onNotificationReceived() override
Definition: UIManager.h:103
void printDoNotDisturbScreen()
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
std::string EndpointIdentifier
Definition: EndpointIdentifier.h:38
Source
Indicates whether the source of the call is from an AVS Directive or through a Local API call...
Definition: SpeakerManagerObserverInterface.h:35
void printEndpointControllerScreen()
void onActiveDeviceConnected(const DeviceAttributes &deviceAttributes) override
}
void printMessage(const std::string &message) override
Definition: UIManager.h:53
Definition: BluetoothDeviceObserverInterface.h:33
tuple message
Definition: gtest_output_test.py:331
static const std::string key
The database key to be used by the protocol given the METADATA object.
Definition: SharedAVSSettingProtocolTest.cpp:58
Status
Definition: ConnectionStatusObserverInterface.h:36
void printProtocolTraceFlag(bool enabled)
A dialog specific UX state observer.
Definition: DialogUXStateObserverInterface.h:29