AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <EndpointAlexaRecordControllerHandler.h>
Public Member Functions | |
RecordControllerInterface methods | |
virtual alexaRecordControllerInterfaces::RecordControllerInterface::Response | startRecording () override |
virtual alexaRecordControllerInterfaces::RecordControllerInterface::Response | stopRecording () override |
virtual bool | isRecording () override |
Public Member Functions inherited from alexaClientSDK::alexaRecordControllerInterfaces::RecordControllerInterface | |
virtual | ~RecordControllerInterface ()=default |
Static Public Member Functions | |
static std::shared_ptr< EndpointAlexaRecordControllerHandler > | create (std::string endpointName) |
Sample implementation of a RecordControllerInterface
.
|
static |
Create a EndpointAlexaRecordController
object.
endpointName | The name of the endpoint. |
EndpointAlexaRecordController
object if it succeeds; otherwise, nullptr
.
|
overridevirtual |
Get the current recording state information of the endpoint.
Implements alexaClientSDK::alexaRecordControllerInterfaces::RecordControllerInterface.
|
overridevirtual |
Start the recording of the content that is currently playing.
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.
|
overridevirtual |
Stop the current recording.
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.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0