#include <MediaPlayerState.h>
Structure to hold metadata about the MediaPlayerState
◆ MediaPlayerState() [1/4]
alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerState |
( |
| ) |
|
|
inline |
Default Constructor, initializes the offset to zero.
◆ MediaPlayerState() [2/4]
alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerState |
( |
std::chrono::milliseconds |
offsetInMs, |
|
|
std::chrono::milliseconds |
duration_ = DURATION_UNKNOWN |
|
) |
| |
|
inline |
◆ MediaPlayerState() [3/4]
alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerState |
( |
std::chrono::milliseconds |
offsetInMs, |
|
|
const MediaPlayerProtection & |
mediaPlayerProtection_, |
|
|
std::chrono::milliseconds |
duration_ = DURATION_UNKNOWN |
|
) |
| |
|
inline |
◆ MediaPlayerState() [4/4]
alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerState |
( |
std::chrono::milliseconds |
offsetInMs, |
|
|
const MediaPlayerProtection & |
mediaPlayerProtection_, |
|
|
const std::string & |
playlistType_, |
|
|
std::chrono::milliseconds |
duration_ = DURATION_UNKNOWN |
|
) |
| |
|
inline |
◆ operator==()
bool alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::operator== |
( |
const MediaPlayerState & |
other | ) |
const |
|
inline |
Overload the == operator for equality checks
- Parameters
-
- Returns
- Whether
this
is equivalent to other
◆ duration
std::chrono::milliseconds alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::duration |
◆ mediaPlayerProtection
◆ offset
std::chrono::milliseconds alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::offset |
◆ playlistType
Optional<std::string> alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::playlistType |
Optional: Playlist type, HLS, DASH, etc., of the current track. Empty when adpative streaming is not in use for the current track.
The documentation for this struct was generated from the following file:
- /workplace/avs-device-sdk/AVSCommon/Utils/include/AVSCommon/Utils/MediaPlayer/MediaPlayerState.h
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0