AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::alexaRecordController::test::MockRecordControllerHandlerInterface Class Reference
Inheritance diagram for alexaClientSDK::alexaRecordController::test::MockRecordControllerHandlerInterface:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::alexaRecordController::test::MockRecordControllerHandlerInterface:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD0 (startRecordingMock, Response())
 
 MOCK_METHOD0 (stopRecordingMock, Response())
 
 MOCK_METHOD0 (isRecordingMock, bool())
 
Response startRecording ()
 
Response stopRecording ()
 
bool isRecording ()
 
- Public Member Functions inherited from alexaClientSDK::alexaRecordControllerInterfaces::RecordControllerInterface
virtual ~RecordControllerInterface ()=default
 

Member Function Documentation

◆ isRecording()

bool alexaClientSDK::alexaRecordController::test::MockRecordControllerHandlerInterface::isRecording ( )
inlinevirtual

Get the current recording state information of the endpoint.

Returns
whether the endpoint is currently recording.

Implements alexaClientSDK::alexaRecordControllerInterfaces::RecordControllerInterface.

◆ MOCK_METHOD0() [1/3]

alexaClientSDK::alexaRecordController::test::MockRecordControllerHandlerInterface::MOCK_METHOD0 ( startRecordingMock  ,
Response()   
)

◆ MOCK_METHOD0() [2/3]

alexaClientSDK::alexaRecordController::test::MockRecordControllerHandlerInterface::MOCK_METHOD0 ( stopRecordingMock  ,
Response()   
)

◆ MOCK_METHOD0() [3/3]

alexaClientSDK::alexaRecordController::test::MockRecordControllerHandlerInterface::MOCK_METHOD0 ( isRecordingMock  ,
bool()   
)

◆ startRecording()

Response alexaClientSDK::alexaRecordController::test::MockRecordControllerHandlerInterface::startRecording ( )
inlinevirtual

Start the recording of the content that is currently playing.

Returns
Whether the Recording was successfully started, or if an error was encountered in the process. RecordControllerInterface::Response.type should be set to SUCCESS if no errors were encountered. Otherwise, RecordControllerInterface::Response.type should contain the corresponding error code along with a log message in RecordControllerInterface::Response.message.

Implements alexaClientSDK::alexaRecordControllerInterfaces::RecordControllerInterface.

◆ stopRecording()

Response alexaClientSDK::alexaRecordController::test::MockRecordControllerHandlerInterface::stopRecording ( )
inlinevirtual

Stop the current recording.

Returns
Whether the Recording was successfully stopped, or if an error was encountered in the process. RecordControllerInterface::Response.type should be set to SUCCESS if no errors were encountered. Otherwise, RecordControllerInterface::Response.type should contain the corresponding error code along with a log message in RecordControllerInterface::Response.message.

Implements alexaClientSDK::alexaRecordControllerInterfaces::RecordControllerInterface.


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