16 #ifndef ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_EXTENSIONS_LIVEVIEW_APLLIVEVIEWEXTENSION_H_ 17 #define ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_EXTENSIONS_LIVEVIEW_APLLIVEVIEWEXTENSION_H_ 22 #pragma GCC diagnostic push 23 #pragma GCC diagnostic ignored "-Wsign-compare" 24 #include <APLClient/Extensions/AplCoreExtensionInterface.h> 27 namespace sampleApplications {
28 namespace ipcServerSampleApp {
29 namespace extensions {
52 apl::Object getEnvironment()
override;
54 std::list<apl::ExtensionCommandDefinition> getCommandDefinitions()
override;
56 std::list<apl::ExtensionEventHandler> getEventHandlers()
override;
58 std::unordered_map<std::string, apl::LiveObjectPtr> getLiveDataObjects()
override;
60 void applySettings(
const apl::Object& settings)
override;
65 void onExtensionEvent(
68 const apl::Object& source,
69 const apl::Object& params,
71 std::shared_ptr<AplCoreExtensionEventCallbackResultInterface> resultCallback)
override;
78 void setCameraState(
const std::string& cameraState);
84 void setCameraMicrophoneState(
bool enabled);
97 void onCameraFirstFrameRendered();
102 void onCameraCleared();
106 std::shared_ptr<AplLiveViewExtensionObserverInterface> m_observer;
112 apl::LiveMapPtr m_cameraState;
123 #endif // ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_EXTENSIONS_LIVEVIEW_APLLIVEVIEWEXTENSION_H_ ::std::string string
Definition: gtest-port.h:1097
std::shared_ptr< AplLiveViewExtension > AplLiveViewExtensionPtr
Definition: AplLiveViewExtension.h:115
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: AplLiveViewExtension.h:39
static const std::string URI
Definition: AplLiveViewExtension.h:34