AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::mediaPlayer::OffsetManager Class Reference

#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 ()
 

Detailed Description

TODO ACSDK-459: Implement support for seeking across playlists.

Constructor & Destructor Documentation

◆ OffsetManager()

alexaClientSDK::mediaPlayer::OffsetManager::OffsetManager ( )

Constructor with initialization of members.

Member Function Documentation

◆ clear()

void alexaClientSDK::mediaPlayer::OffsetManager::clear ( )

Explicitly clears locally cached data, ex seekPoint.

◆ getSeekPoint()

std::chrono::milliseconds alexaClientSDK::mediaPlayer::OffsetManager::getSeekPoint ( )

Get the seek point.

Returns
The seek point in milliseconds.

◆ isSeekable()

bool alexaClientSDK::mediaPlayer::OffsetManager::isSeekable ( )

Returns whether the stream is seekable.

Returns
A boolean indicating whether the stream is seekable.

◆ isSeekPointSet()

bool alexaClientSDK::mediaPlayer::OffsetManager::isSeekPointSet ( )

Returns whether a seek point has been set.

Returns
A boolean indicating whether the stream is seekable.

◆ setIsSeekable()

void alexaClientSDK::mediaPlayer::OffsetManager::setIsSeekable ( bool  seekable)

Set whether the stream is seekable.

Parameters
seekableA boolean indicating whether the stream is seekable.

◆ setSeekPoint()

void alexaClientSDK::mediaPlayer::OffsetManager::setSeekPoint ( std::chrono::milliseconds  seekPoint)

Set a seek point.

Parameters
seekPointThe seek point in milliseconds.

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0