![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <RangeControllerAttributes.h>
Public Member Functions | |
RangeControllerAttributes () | |
RangeControllerAttributes (const avsCommon::avs::CapabilityResources &capabilityResources, const utils::Optional< avsCommon::avs::resources::AlexaUnitOfMeasure > &unitOfMeasure, const std::vector< std::pair< double, avsCommon::sdkInterfaces::rangeController::PresetResources >> &presets) | |
RangeControllerAttributes (const avsCommon::avs::CapabilityResources &capabilityResources, const utils::Optional< avsCommon::avs::resources::AlexaUnitOfMeasure > &unitOfMeasure, const std::vector< std::pair< double, avsCommon::sdkInterfaces::rangeController::PresetResources >> &presets, avsCommon::utils::Optional< avsCommon::avs::capabilitySemantics::CapabilitySemantics > semantics) | |
Public Attributes | |
const avsCommon::avs::CapabilityResources | capabilityResources |
A capability resource CapabilityResources . More... | |
const utils::Optional< avsCommon::avs::resources::AlexaUnitOfMeasure > | unitOfMeasure |
The unit of measure used for the range value. More... | |
std::vector< std::pair< double, avsCommon::sdkInterfaces::rangeController::PresetResources > > | presets |
avsCommon::utils::Optional< avsCommon::avs::capabilitySemantics::CapabilitySemantics > | semantics |
A semantics definition as an Optional CapabilitySemantics . More... | |
Struct to hold the Range Controller attributes required for Capability Agent discovery.
|
inline |
Default constructor.
Optional::value()
.
|
inline |
Constructor to build the RangeControllerAttributes
using provided values.
capabilityResources | The capability resources. |
unitOfMeasure | The unit of measure of range defined using AlexaUnitOfMeasure |
presets | presets of the range controller. |
|
inline |
Constructor to build the RangeControllerAttributes
using provided values.
capabilityResources | The capability resources. |
unitOfMeasure | The unit of measure of range defined using AlexaUnitOfMeasure |
presets | presets of the range controller. |
semantics | The optional semantics definition. |
const avsCommon::avs::CapabilityResources alexaClientSDK::avsCommon::sdkInterfaces::rangeController::RangeControllerAttributes::capabilityResources |
A capability resource CapabilityResources
.
std::vector<std::pair<double, avsCommon::sdkInterfaces::rangeController::PresetResources> > alexaClientSDK::avsCommon::sdkInterfaces::rangeController::RangeControllerAttributes::presets |
A vector of a pair defining the value of a preset using double
and its preset resources using PresetResources
.
avsCommon::utils::Optional<avsCommon::avs::capabilitySemantics::CapabilitySemantics> alexaClientSDK::avsCommon::sdkInterfaces::rangeController::RangeControllerAttributes::semantics |
A semantics definition as an Optional
CapabilitySemantics
.
const utils::Optional<avsCommon::avs::resources::AlexaUnitOfMeasure> alexaClientSDK::avsCommon::sdkInterfaces::rangeController::RangeControllerAttributes::unitOfMeasure |
The unit of measure used for the range value.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0