![]() |
Alexa Auto SDK
2.0.0
|
Public Member Functions | |
void | initAndRunDiscovery () |
void | onAuthorizedPlayers (List< AuthorizedPlayer > players) |
void | handleDirective (Directive directive) |
ExternalMediaPlayerState | getState (String playerId) |
MACCAndroidClient implementation that can be instantiated to provide a client to connect to MACC compatible apps, and provides callbacks to assist with the initialization process and reporting of events and states
void com.amazon.maccandroid.MACCAndroidClient.initAndRunDiscovery | ( | ) |
runs a single instance of the discovery scan, usually good to run at startup
void com.amazon.maccandroid.MACCAndroidClient.onAuthorizedPlayers | ( | List< AuthorizedPlayer > | players | ) |
Call that is made to give a list of players that were authorized from the cloud
players | list of authorized players |
void com.amazon.maccandroid.MACCAndroidClient.handleDirective | ( | Directive | directive | ) |
handles a directive coming from AVS
directive | directive coming from AVS |
ExternalMediaPlayerState com.amazon.maccandroid.MACCAndroidClient.getState | ( | String | playerId | ) |
Gets the current state of a specific player. This state is ExternalMediaPlayerState
playerId |
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