![]() |
Alexa Auto SDK
2.3.1
|
Public Member Functions | |
| bool | setProperty (const std::string &name, const std::string &value) |
| virtual void | propertyStateChanged (const std::string &name, const std::string &value, const PropertyState state)=0 |
| std::string | getProperty (const std::string &name) |
| virtual void | propertyChanged (const std::string &name, const std::string &newValue)=0 |
PropertyManager should be extended to set and retrieve Engine property settings and be notified of property changes.
| bool aace::propertyManager::PropertyManager::setProperty | ( | const std::string & | name, |
| const std::string & | value | ||
| ) |
Sets a property value in the Engine. setProperty() is an asynchronous operation and the Engine will call propertyStateChanged() with the status when it is completed.
| [in] | name | The name used by the Engine to identify the property. The property name must be one of the property constants recognized by the Engine, e.g. the properties in aace::alexa::property::AlexaProperties.h. |
| [in] | value | The property setting |
true if the property value was updated or set to the current setting, else false if an error occured.
|
pure virtual |
Notifies the platform implementation of the status of a property change after a call to setProperty().
| [in] | name | The name used by the Engine to identify the property. |
| [in] | value | The property value. |
| [in] | state | The state of the property change. |
| std::string aace::propertyManager::PropertyManager::getProperty | ( | const std::string & | name | ) |
Retrieves the setting for the property identified by name from the Engine.
| [in] | name | The name used by the Engine to identify the property. The property name must be one of the property constants recognized by the Engine, e.g. the properties in aace::alexa::property::AlexaProperties.h |
|
pure virtual |
Notifies the platform implementation of a property setting change in the Engine.
PropertyManager::setProperty() | [in] | name | The name used by the Engine to identify the property. |
| [in] | newValue | The new value of the property |
Alexa Auto SDK 2.3.1 - Copyright 2017-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0