AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
RecordControllerInterface.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ACSDK_ALEXARECORDCONTROLLERINTERFACES_RECORDCONTROLLERINTERFACE_H_
17 #define ACSDK_ALEXARECORDCONTROLLERINTERFACES_RECORDCONTROLLERINTERFACE_H_
18 
19 #include <string>
20 
21 namespace alexaClientSDK {
22 namespace alexaRecordControllerInterfaces {
23 
30 public:
34  struct Response {
38  enum class Type {
40  SUCCESS,
54  };
55 
60 
68 
70  Type type;
71 
75  };
76 
80  virtual ~RecordControllerInterface() = default;
81 
90  virtual Response startRecording() = 0;
91 
100  virtual Response stopRecording() = 0;
101 
107  virtual bool isRecording() = 0;
108 };
109 
110 } // namespace alexaRecordControllerInterfaces
111 } // namespace alexaClientSDK
112 
113 #endif // ACSDK_ALEXARECORDCONTROLLERINTERFACES_RECORDCONTROLLERINTERFACE_H_
Type type
Response type for RecordController handler responses.
Definition: RecordControllerInterface.h:67
::std::string string
Definition: gtest-port.h:1097
Indicates that an error occurred that can&#39;t be described by one of the other error types...
std::string errorMessage
Definition: RecordControllerInterface.h:74
The number of allowed failed attempts to perform a RecordController action has been exceeded...
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Indicates that a recording request failed because the DVR storage is full.
const T & move(const T &t)
Definition: gtest-port.h:1317

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