AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <CapabilitiesDelegateInterface.h>
CapabilitiesDelegateInterface is an interface with methods that provide clients a way to register endpoints and their capabilities and publish them so that Alexa is aware of the device's capabilities.
|
virtualdefault |
Destructor
|
pure virtual |
Specify an object to observe changes to the state of this CapabilitiesDelegate. During the call to this setter the observers onCapabilitiesStateChange() method will be called back with the current capabilities state.
observer | The object to observe the state of this CapabilitiesDelegate. |
|
pure virtual |
Updates an existing endpoint's capabilities or, if the endpoint does not already exist, registers a new endpoint.
endpointAttributes | The EndpointAttributes for the registering endpoint. |
capabilities | The array of CapabilityConfiguration the endpoint supports. |
CapabilitiesDelegateObserverInterface
. Implemented in alexaClientSDK::capabilitiesDelegate::CapabilitiesDelegate.
|
pure virtual |
Deletes an existing endpoint.
endpointAttributes | The EndpointAttributes for the deregistering endpoint. |
capabilities | The array of CapabilityConfiguration the endpoint supports. |
CapabilitiesDelegateObserverInterface
. Implemented in alexaClientSDK::capabilitiesDelegate::CapabilitiesDelegate.
|
pure virtual |
Invalidates the capabilities reported to the AVS last. Capabilities information should be rebuilt and reported to the AVS during the next synchronization.
Implemented in alexaClientSDK::capabilitiesDelegate::CapabilitiesDelegate.
|
pure virtual |
Remove an observer.
observer | The observer to remove. |
|
pure virtual |
Set the message sender to use for sending Discovery events to AVS when connected.
messageSender | The message sender. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0