AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <AlwaysTrueCommunicationValidator.h>
Public Member Functions | |
AlwaysTrueCommunicationValidator ()=default | |
~AlwaysTrueCommunicationValidator () override=default | |
CommunicationPropertyValidatorInterface methods | |
bool | validateWriteRequest (const std::string &propertyName, T newValue) override |
Public Member Functions inherited from alexaClientSDK::acsdkCommunicationInterfaces::CommunicationPropertyValidatorInterface< T > | |
virtual | ~CommunicationPropertyValidatorInterface ()=default |
This is an implementation of the CommunicationPropertyValidatorInterface, that will always result to true. This class is meant to offer implementors a quick way to create Writable properties without creating a new CommunicationPropertyWriter if they don't want to validate the value being written.
|
default |
Default Constructor
|
overridedefault |
Default Destructor
|
inlineoverridevirtual |
Called when we want to write to a property. Used to validate before we write the newValue
propertyName | The name of the property |
newValue | The new value of the property |
Implements alexaClientSDK::acsdkCommunicationInterfaces::CommunicationPropertyValidatorInterface< T >.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0