Alexa Auto SDK  2.0.0
Classes | Public Member Functions | List of all members
com.amazon.aace.alexa.AlexaClient Class Referenceabstract

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)
 

Detailed Description

AlexaClient should be extended to handle Alexa state changes on the platform.

Member Function Documentation

◆ dialogStateChanged()

void com.amazon.aace.alexa.AlexaClient.dialogStateChanged ( DialogState  state)

Notifies the platform implementation of an Alexa dialog state change

Parameters
stateThe new Alexa dialog state
Note
It is the responsibility of the platform implementation to provide a familiar Alexa experience for the user. See the AVS UX Attention System guidelines for recommendations on communicating Alexa attention states: https://developer.amazon.com/docs/alexa-voice-service/ux-design-attention.html#implement

◆ authStateChanged()

void com.amazon.aace.alexa.AlexaClient.authStateChanged ( AuthState  state,
AuthError  error 
)

Notifies the platform implementation of an AVS authorization state change

Parameters
stateThe new authorization state
errorThe error state of the authorization attempt

◆ connectionStatusChanged()

void com.amazon.aace.alexa.AlexaClient.connectionStatusChanged ( ConnectionStatus  status,
ConnectionChangedReason  reason 
)

Notifies the platform implementation of an AVS connection status change

Parameters
statusThe new AVS connection status
reasonThe reason for the status change

Alexa Auto SDK 2.0.0 - Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0