![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <CapabilityState.h>
Public Member Functions | |
CapabilityState (const std::string &valuePayload, const utils::timing::TimePoint &timeOfSample=utils::timing::TimePoint::now(), const uint32_t uncertaintyInMilliseconds=0) | |
CapabilityState (const CapabilityState &other)=default | |
CapabilityState ()=default | |
CapabilityState & | operator= (const CapabilityState &other)=default |
bool | operator== (const CapabilityState &rhs) const |
bool | operator!= (const CapabilityState &rhs) const |
Public Attributes | |
std::string | valuePayload |
A string representation of the value payload. More... | |
utils::timing::TimePoint | timeOfSample |
The time at which the property value was recorded. More... | |
uint32_t | uncertaintyInMilliseconds |
The number of milliseconds that have elapsed since the property value was last confirmed. More... | |
This structure represents the state of a capability, including the time that this state was reported and the uncertaintyInMilliseconds.
|
inline |
The Constructor.
valuePayload | A string representation of the value payload. |
timeOfSample | The time at which the property value was recorded. |
uncertaintyInMilliseconds | The number of milliseconds that have elapsed since the property value was last confirmed. |
|
default |
Copy constructor.
other | The state to copy from. |
|
default |
Default constructor.
Optional::value()
.
|
inline |
Equality operators.
rhs | The element to compare to this . |
|
default |
Assignment operator.
other | The state to copy from. |
|
inline |
Equality operators.
rhs | The element to compare to this . |
utils::timing::TimePoint alexaClientSDK::avsCommon::avs::CapabilityState::timeOfSample |
The time at which the property value was recorded.
uint32_t alexaClientSDK::avsCommon::avs::CapabilityState::uncertaintyInMilliseconds |
The number of milliseconds that have elapsed since the property value was last confirmed.
std::string alexaClientSDK::avsCommon::avs::CapabilityState::valuePayload |
A string representation of the value payload.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0