![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <VisualStateProviderInterface.h>
Public Member Functions | |
virtual | ~VisualStateProviderInterface ()=default |
virtual void | provideState (const PresentationToken &token, const avsCommon::sdkInterfaces::ContextRequestToken stateRequestToken)=0 |
A VisualStateProviderInterface
may be any client component that provides updates on the visual context of the device.
|
virtualdefault |
Destructor.
|
pure virtual |
A request to a VisualStateProvider
to provide the state. The requester specifies a token which the VisualStateProvider
must use when it updates the state via the onVisualContextAvailable
call to APL
Capability Agent.
token | The token of the last displaying document to get the correct context in the onVisualContextAvailable call. |
stateRequestToken | The token to use in the onVisualContextAvailable call. |
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::AplClientBridge, and alexaClientSDK::sampleApplications::ipcServerSampleApp::APLRuntimePresentationAdapter.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0