![]() |
Alexa Auto SDK
2.3.0
|
Classes | |
| enum | CBLState |
| enum | CBLStateChangedReason |
Public Member Functions | |
| void | cblStateChanged (CBLState state, CBLStateChangedReason reason, String url, String code) |
| void | clearRefreshToken () |
| void | setRefreshToken (String refreshToken) |
| String | getRefreshToken () |
| void | setUserProfile (String name, String email) |
Protected Member Functions | |
| final void | start () |
| final void | cancel () |
| final void | reset () |
PhoneCallController should be extended to perform CBL authentication
| void com.amazon.aace.cbl.CBL.cblStateChanged | ( | CBLState | state, |
| CBLStateChangedReason | reason, | ||
| String | url, | ||
| String | code | ||
| ) |
Notifies the platform implementation of an authorization flow state change
| void com.amazon.aace.cbl.CBL.clearRefreshToken | ( | ) |
Notifies the platform implementation to clear the refresh token
| void com.amazon.aace.cbl.CBL.setRefreshToken | ( | String | refreshToken | ) |
Notifies the platform implementation to set the refresh token
| String com.amazon.aace.cbl.CBL.getRefreshToken | ( | ) |
Returns the refresh token stored by the platform implementation, otherwise return an empty string
| void com.amazon.aace.cbl.CBL.setUserProfile | ( | String | name, |
| String | |||
| ) |
Notifies the platform implementation to set the user profile, this is requested one time after authorization requestUserProfile must be enabled in configuration
|
protected |
Notifies the Engine to begin the authorization process
|
protected |
Notifies the Engine to cancel the authorization process
|
protected |
Notifies the Engine to reset the authorization state
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