AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkCommunication::test::FalseValidator Class Reference
Inheritance diagram for alexaClientSDK::acsdkCommunication::test::FalseValidator:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkCommunication::test::FalseValidator:
Collaboration graph
[legend]

Public Member Functions

bool validateWriteRequest (const std::string &PropertyName, int newValue)
 
- Public Member Functions inherited from alexaClientSDK::acsdkCommunicationInterfaces::CommunicationPropertyValidatorInterface< int >
virtual ~CommunicationPropertyValidatorInterface ()=default
 

Member Function Documentation

◆ validateWriteRequest()

bool alexaClientSDK::acsdkCommunication::test::FalseValidator::validateWriteRequest ( const std::string &  propertyName,
int  newValue 
)
inlinevirtual

Called when we want to write to a property. Used to validate before we write the newValue

Parameters
propertyNameThe name of the property
newValueThe new value of the property
Returns
true if alright to write value, false otherwise.

Implements alexaClientSDK::acsdkCommunicationInterfaces::CommunicationPropertyValidatorInterface< int >.


The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0