AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | List of all members
alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerProtection Struct Reference

#include <MediaPlayerState.h>

Public Member Functions

 MediaPlayerProtection ()
 Default Constructor. More...
 
 MediaPlayerProtection (const std::string &protectionScheme, bool clearLead)
 Constructor. More...
 
bool operator== (const MediaPlayerProtection &other) const
 
bool isProtected () const
 Is the track protected. More...
 

Public Attributes

std::string protectionScheme
 
bool clearLead
 

Detailed Description

Structure to hold media protection information.

Constructor & Destructor Documentation

◆ MediaPlayerProtection() [1/2]

alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerProtection::MediaPlayerProtection ( )
inline

Default Constructor.

◆ MediaPlayerProtection() [2/2]

alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerProtection::MediaPlayerProtection ( const std::string &  protectionScheme,
bool  clearLead 
)
inline

Constructor.

Member Function Documentation

◆ isProtected()

bool alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerProtection::isProtected ( ) const
inline

Is the track protected.

◆ operator==()

bool alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerProtection::operator== ( const MediaPlayerProtection other) const
inline

Overload the == operator for equality checks

Parameters
otherThe other MediaPlayerProtection to compare
Returns
Whether this is equivalent to other

Member Data Documentation

◆ clearLead

bool alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerProtection::clearLead

Whether we found some clear lead data, possibly to mitigate latency, even though most of the content was protected.

◆ protectionScheme

std::string alexaClientSDK::avsCommon::utils::mediaPlayer::MediaPlayerState::MediaPlayerProtection::protectionScheme

Name of the protection scheme used to protect media. This field will be empty if no protection scheme is used.


The documentation for this struct 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