AlexaClientSDK  1.22.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesObserver Class Reference

#include <MockCapabilitiesObserver.h>

Inheritance diagram for alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesObserver:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesObserver:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD4 (onCapabilitiesStateChange, void(CapabilitiesObserverInterface::State, CapabilitiesObserverInterface::Error, const std::vector< std::string > &, const std::vector< std::string > &))
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::CapabilitiesObserverInterface
virtual ~CapabilitiesObserverInterface ()=default
 
virtual void onCapabilitiesStateChange (State newState, Error newError, const std::vector< std::string > &addedOrUpdatedEndpointIds, const std::vector< std::string > &deletedEndpointIds)=0
 

Additional Inherited Members

- Public Types inherited from alexaClientSDK::avsCommon::sdkInterfaces::CapabilitiesObserverInterface
enum  State { State::UNINITIALIZED, State::SUCCESS, State::FATAL_ERROR, State::RETRIABLE_ERROR }
 The enum State describes the state of the CapabilitiesDelegate. More...
 
enum  Error {
  Error::UNINITIALIZED, Error::SUCCESS, Error::UNKNOWN_ERROR, Error::CANCELED,
  Error::FORBIDDEN, Error::SERVER_INTERNAL_ERROR, Error::BAD_REQUEST
}
 The enum Error encodes possible errors which may occur when changing state. More...
 

Detailed Description

Mock class for CapabilitiesObserverInterface.

Member Function Documentation

◆ MOCK_METHOD4()

alexaClientSDK::capabilitiesDelegate::test::MockCapabilitiesObserver::MOCK_METHOD4 ( onCapabilitiesStateChange  ,
void(CapabilitiesObserverInterface::State, CapabilitiesObserverInterface::Error, const std::vector< std::string > &, const std::vector< std::string > &)   
)

The documentation for this class was generated from the following file:

AlexaClientSDK 1.22.0 - Copyright 2016-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0