![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <PlaylistEntry.h>
Public Types | |
enum | Method { Method::NONE, Method::AES_128, Method::SAMPLE_AES } |
Public Member Functions | |
EncryptionInfo () | |
EncryptionInfo (Method method, std::string url, std::string initVector=std::string()) | |
bool | isValid () const |
Public Attributes | |
Method | method |
Encryption method. More... | |
std::string | keyURL |
The URL of the encryption key. More... | |
std::string | initVector |
The initilization vector used for encryption. More... | |
std::chrono::milliseconds | totalDuration |
The total duration of the content from the playlist. More... | |
Struct to hold encryption info: method, key URL and initialization vector.
|
inline |
Default constructor.
|
inline |
Constructor.
method | The encryption method of media. |
url | The URL for the encryption key to download. |
initVector | The intilization vector used for encryption. |
|
inline |
Helper method to check if EncryptionInfo is valid.
true
if encryption info is valid or false
otherwise. std::string alexaClientSDK::avsCommon::utils::playlistParser::EncryptionInfo::initVector |
The initilization vector used for encryption.
std::string alexaClientSDK::avsCommon::utils::playlistParser::EncryptionInfo::keyURL |
The URL of the encryption key.
Method alexaClientSDK::avsCommon::utils::playlistParser::EncryptionInfo::method |
Encryption method.
std::chrono::milliseconds alexaClientSDK::avsCommon::utils::playlistParser::EncryptionInfo::totalDuration |
The total duration of the content from the playlist.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0