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::avs::HandlerAndPolicy Class Reference

#include <HandlerAndPolicy.h>

Collaboration diagram for alexaClientSDK::avsCommon::avs::HandlerAndPolicy:
Collaboration graph
[legend]

Public Member Functions

 HandlerAndPolicy ()=default
 
 HandlerAndPolicy (std::shared_ptr< avsCommon::sdkInterfaces::DirectiveHandlerInterface > handlerIn, BlockingPolicy policyIn)
 
 operator bool () const
 

Public Attributes

std::shared_ptr< avsCommon::sdkInterfaces::DirectiveHandlerInterfacehandler
 The DirectiveHandlerInterface value for this instance. More...
 
BlockingPolicy policy
 The BlockingPolicy value for this instance. More...
 

Detailed Description

Conjoined DirectiveHandler and BlockingPolicy values.

Constructor & Destructor Documentation

◆ HandlerAndPolicy() [1/2]

alexaClientSDK::avsCommon::avs::HandlerAndPolicy::HandlerAndPolicy ( )
default

Constructor to initialize with default property values.

◆ HandlerAndPolicy() [2/2]

alexaClientSDK::avsCommon::avs::HandlerAndPolicy::HandlerAndPolicy ( std::shared_ptr< avsCommon::sdkInterfaces::DirectiveHandlerInterface handlerIn,
BlockingPolicy  policyIn 
)

Constructor to initialize with specific property values.

Parameters
handlerInThe AVSDirectiveHandlerInterface value for this instance.
policyInThe BlockingPolicy value for this instance.

Member Function Documentation

◆ operator bool()

alexaClientSDK::avsCommon::avs::HandlerAndPolicy::operator bool ( ) const

Return whether this instance specifies a non-null directive handler and a non-NONE BlockingPolicy.

Returns
Whether this instance specifies a non-null directive handler and a non-NONE BlockingPolicy.

Member Data Documentation

◆ handler

std::shared_ptr<avsCommon::sdkInterfaces::DirectiveHandlerInterface> alexaClientSDK::avsCommon::avs::HandlerAndPolicy::handler

The DirectiveHandlerInterface value for this instance.

◆ policy

BlockingPolicy alexaClientSDK::avsCommon::avs::HandlerAndPolicy::policy

The BlockingPolicy value for this instance.


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