![]() |
Alexa Auto SDK
2.3.0
|
Classes | |
enum | AuthError |
enum | AuthState |
enum | ConnectionChangedReason |
enum | ConnectionStatus |
enum | DialogState |
Public Member Functions | |
void | dialogStateChanged (DialogState state) |
void | authStateChanged (AuthState state, AuthError error) |
void | connectionStatusChanged (ConnectionStatus status, ConnectionChangedReason reason) |
void | stopForegroundActivity () |
AlexaClient should be extended to handle Alexa state changes on the platform.
void com.amazon.aace.alexa.AlexaClient.dialogStateChanged | ( | DialogState | state | ) |
Notifies the platform implementation of an Alexa dialog state change
state | The new Alexa dialog state |
Notifies the platform implementation of an AVS authorization state change
state | The new authorization state |
error | The error state of the authorization attempt |
void com.amazon.aace.alexa.AlexaClient.connectionStatusChanged | ( | ConnectionStatus | status, |
ConnectionChangedReason | reason | ||
) |
Notifies the platform implementation of an AVS connection status change
status | The new AVS connection status |
reason | The reason for the status change |
void com.amazon.aace.alexa.AlexaClient.stopForegroundActivity | ( | ) |
Stops the foreground activity if there is one. This acts as a "stop" button that can be used to stop an ongoing activity that has acquired the audio or visual focus. This call will trigger the action to stop all user-observable activities and return immediately
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