AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <OffsetManager.h>
Public Member Functions | |
OffsetManager () | |
void | setIsSeekable (bool seekable) |
bool | isSeekable () |
void | setSeekPoint (std::chrono::milliseconds seekPoint) |
std::chrono::milliseconds | getSeekPoint () |
bool | isSeekPointSet () |
void | clear () |
TODO ACSDK-459: Implement support for seeking across playlists.
alexaClientSDK::mediaPlayer::OffsetManager::OffsetManager | ( | ) |
Constructor with initialization of members.
void alexaClientSDK::mediaPlayer::OffsetManager::clear | ( | ) |
Explicitly clears locally cached data, ex seekPoint
.
std::chrono::milliseconds alexaClientSDK::mediaPlayer::OffsetManager::getSeekPoint | ( | ) |
Get the seek point.
bool alexaClientSDK::mediaPlayer::OffsetManager::isSeekable | ( | ) |
Returns whether the stream is seekable.
bool alexaClientSDK::mediaPlayer::OffsetManager::isSeekPointSet | ( | ) |
Returns whether a seek point has been set.
void alexaClientSDK::mediaPlayer::OffsetManager::setIsSeekable | ( | bool | seekable | ) |
Set whether the stream is seekable.
seekable | A boolean indicating whether the stream is seekable. |
void alexaClientSDK::mediaPlayer::OffsetManager::setSeekPoint | ( | std::chrono::milliseconds | seekPoint | ) |
Set a seek point.
seekPoint | The seek point in milliseconds. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0