◆ onGetPlayerPosition()
virtual int64_t aace::alexa::AudioPlayerEngineInterface::onGetPlayerPosition |
( |
| ) |
|
|
pure virtual |
Returns the current playback position of the audio player. If the audio source is not playing, the most recent position played should be returned.
- Returns
- The audio player's playback position in milliseconds, or
TIME_UNKNOWN
if the current media position is unknown or invalid.
◆ onGetPlayerDuration()
virtual int64_t aace::alexa::AudioPlayerEngineInterface::onGetPlayerDuration |
( |
| ) |
|
|
pure virtual |
Returns the playback duration of the audio player.
- Returns
- The audio player's playback duration in milliseconds, or
TIME_UNKNOWN
if the duration is unknown or invalid.
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