16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_BLOCKINGPOLICY_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_BLOCKINGPOLICY_H_ 49 using Mediums = std::bitset<Medium::COUNT>;
110 stream <<
" Mediums:";
113 stream <<
"MEDIUM_AUDIO";
115 stream <<
"MEDIUM_VISUAL";
117 stream <<
"MEDIUMS_AUDIO_AND_VISUAL";
119 stream <<
"MEDIUMS_NONE";
151 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_AVS_INCLUDE_AVSCOMMON_AVS_BLOCKINGPOLICY_H_
static const avscommon_EXPORT Mediums MEDIUM_AUDIO
Policy uses AUDIO medium.
Definition: BlockingPolicy.h:52
std::bitset< Medium::COUNT > Mediums
The mediums used by the policy owner.
Definition: BlockingPolicy.h:49
bool operator==(const BlockingPolicy &lhs, const BlockingPolicy &rhs)
Definition: BlockingPolicy.h:36
Visual Medium.
Definition: BlockingPolicy.h:42
bool operator!=(const BlockingPolicy &lhs, const BlockingPolicy &rhs)
MediumEnum
The medium enum.
Definition: BlockingPolicy.h:38
Number of mediums. This MUST be the last enum member.
Definition: BlockingPolicy.h:44
static const avscommon_EXPORT Mediums MEDIUMS_AUDIO_AND_VISUAL
Policy uses AUDIO and VISUAL mediums.
Definition: BlockingPolicy.h:58
BlockingPolicy(const Mediums &mediums=MEDIUMS_NONE, bool isBlocking=true)
static const avscommon_EXPORT Mediums MEDIUM_VISUAL
Policy uses VISUAL medium.
Definition: BlockingPolicy.h:55
std::ostream & operator<<(std::ostream &stream, AlexaResponseType responseType)
Definition: AlexaResponseType.h:93
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Audio Medium.
Definition: BlockingPolicy.h:40
Definition: BlockingPolicy.h:31
static const avscommon_EXPORT Mediums MEDIUMS_NONE
Definition: BlockingPolicy.h:64
Mediums getMediums() const