AlexaClientSDK  1.26.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 ( )

Default Constructor.

◆ MediaPlayerProtection() [2/2]

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


Member Function Documentation

◆ isProtected()

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

Is the track protected.

◆ operator==()

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

Overload the == operator for equality checks

otherThe other MediaPlayerProtection to compare
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 1.26.0 - Copyright 2016-2021, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0