![]() |
Alexa Auto SDK
2.3.1
|
Public Member Functions | |
boolean | configure (EngineConfiguration[] configurationList) |
boolean | start () |
boolean | stop () |
boolean | registerPlatformInterface (PlatformInterface platformInterface) |
boolean | setProperty (String key, String value) |
String | getProperty (String key) |
Static Public Member Functions | |
static Engine | create (Context context) |
The Engine must be instantiated by the platform implementation. Along with the platform interfaces, it is responsible for managing the interactions between the platform and AVS. The platform implementation should not extend Engine; it is extended in the SDK.
|
static |
Creates a new instance of an Engine object.
boolean com.amazon.aace.core.Engine.configure | ( | EngineConfiguration [] | configurationList | ) |
boolean com.amazon.aace.core.Engine.start | ( | ) |
boolean com.amazon.aace.core.Engine.stop | ( | ) |
boolean com.amazon.aace.core.Engine.registerPlatformInterface | ( | PlatformInterface | platformInterface | ) |
Registers a PlatformInterface
instance with the Engine The platform implementation must register each interface required by the application.
platformInterface | The PlatformInterface instance to register |
true
if the PlatformInterface
instance was registered, else false
boolean com.amazon.aace.core.Engine.setProperty | ( | String | key, |
String | value | ||
) |
Sets a property value in 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 |
value | The property setting |
true
if the property value was updated or set to the current setting, else false
if an error occured. String com.amazon.aace.core.Engine.getProperty | ( | String | key | ) |
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 |
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