![]() |
Alexa Auto SDK
2.3.0
|
Classes | |
enum | PropertyState |
Public Member Functions | |
final boolean | setProperty (String name, String value) |
void | propertyStateChanged (String name, String value, PropertyState state) |
final String | getProperty (String name) |
void | propertyChanged (String name, String newValue) |
PropertyManager should be extended to set and retrieve Engine property settings and be notified of property changes.
final boolean com.amazon.aace.propertyManager.PropertyManager.setProperty | ( | String | name, |
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.
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 com.amazon.aace.alexa.AlexaProperties.java |
value | The property setting |
true
if the property value was updated or set to the current setting, else false
if an error occured. void com.amazon.aace.propertyManager.PropertyManager.propertyStateChanged | ( | String | name, |
String | value, | ||
PropertyState | state | ||
) |
Notifies the platform implementation of the status of a property change after a call to setProperty().
name | The name used by the Engine to identify the property. |
value | The property value. |
state | The state of the property change. |
final String com.amazon.aace.propertyManager.PropertyManager.getProperty | ( | String | name | ) |
Retrieves the setting for the property identified by name
from the Engine
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 com.amazon.aace.alexa.AlexaProperties.java |
void com.amazon.aace.propertyManager.PropertyManager.propertyChanged | ( | String | name, |
String | newValue | ||
) |
Notifies the platform implementation of a property setting change in the Engine.
PropertyManager.setProperty()
name | The name used by the Engine to identify the property. |
newValue | The new value of the property |
Alexa Auto SDK 2.3.0 - Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0