Alexa Auto SDK
4.3
|
Public Types | |
using | PlaybackButton = aace::alexa::PlaybackControllerEngineInterface::PlaybackButton |
using | PlaybackToggle = aace::alexa::PlaybackControllerEngineInterface::PlaybackToggle |
Public Member Functions | |
void | buttonPressed (PlaybackButton button) |
void | togglePressed (PlaybackToggle toggle, bool action) |
PlaybackController should be extended to handle playback control operations such as on-platform button presses for the AudioPlayer
. The Engine will respond to PlaybackController events with playback control directives on the AudioPlayer
MediaPlayer
.
using aace::alexa::PlaybackController::PlaybackButton = aace::alexa::PlaybackControllerEngineInterface::PlaybackButton |
Describes the playback button types
using aace::alexa::PlaybackController::PlaybackToggle = aace::alexa::PlaybackControllerEngineInterface::PlaybackToggle |
Describes the playback toggle types
void aace::alexa::PlaybackController::buttonPressed | ( | PlaybackButton | button | ) |
Notifies the Engine of a platform button request (i.e. Play/Pause/Next/Previous/Skip Forward/Skip Backward) For certain playback types, the Engine will issue playback directives to the AudioPlayer
MediaPlayer
to control playback on the platform.
[in] | button | The playback button type |
void aace::alexa::PlaybackController::togglePressed | ( | PlaybackToggle | toggle, |
bool | action | ||
) |
Notifies the Engine of a platform toggle request (i.e. Shuffle/Loop/Repeat/Thumbs Up/Thumbs Down) For certain playback types, the Engine will issue playback directives to the AudioPlayer
MediaPlayer
to control playback on the platform.
[in] | toggle | The playback toggle type |
[in] | action | The toggle action ( selected/deselected ) |
Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0