◆ getConfiguration()
Configuration alexaClientSDK::alexaLiveViewController::test::MockAlexaLiveViewControllerInterface::getConfiguration |
( |
| ) |
|
|
inlinevirtual |
◆ MOCK_METHOD0() [1/2]
alexaClientSDK::alexaLiveViewController::test::MockAlexaLiveViewControllerInterface::MOCK_METHOD0 |
( |
stopMock |
, |
|
|
Response() |
|
|
) |
| |
◆ MOCK_METHOD0() [2/2]
alexaClientSDK::alexaLiveViewController::test::MockAlexaLiveViewControllerInterface::MOCK_METHOD0 |
( |
getConfigurationMock |
, |
|
|
Configuration() |
|
|
) |
| |
◆ MOCK_METHOD1() [1/4]
alexaClientSDK::alexaLiveViewController::test::MockAlexaLiveViewControllerInterface::MOCK_METHOD1 |
( |
startMock |
, |
|
|
Response(StartLiveViewRequest *) |
|
|
) |
| |
◆ MOCK_METHOD1() [2/4]
alexaClientSDK::alexaLiveViewController::test::MockAlexaLiveViewControllerInterface::MOCK_METHOD1 |
( |
setCameraStateMock |
, |
|
|
Response(CameraState cameraState) |
|
|
) |
| |
◆ MOCK_METHOD1() [3/4]
◆ MOCK_METHOD1() [4/4]
◆ setCameraState()
Response alexaClientSDK::alexaLiveViewController::test::MockAlexaLiveViewControllerInterface::setCameraState |
( |
CameraState |
cameraState | ) |
|
|
inlinevirtual |
Update the camera state based on the LiveViewController interaction with other components.
- Parameters
-
cameraState | Incoming camera state. |
- Returns
- Whether camera state has been updated successfully, or if an error was encountered in the process.
LiveViewControllerInterface::Response.type
should return SUCCESS if no errors were encountered. Otherwise, LiveViewControllerInterface::Response.type
should contain the corresponding error code along with a log message in LiveViewControllerInterface::Response.errorMessage
.
Implements alexaClientSDK::alexaLiveViewControllerInterfaces::LiveViewControllerInterface.
◆ start()
Response alexaClientSDK::alexaLiveViewController::test::MockAlexaLiveViewControllerInterface::start |
( |
std::unique_ptr< StartLiveViewRequest > |
request | ) |
|
|
inlinevirtual |
Start camera live view stream based on the user request.
- Parameters
-
request | The request for the StartLiveView directive. |
- Returns
- whether camera live view stream has been started successfully, or if an error was encountered in the process.
LiveViewControllerInterface::Response.type
should return SUCCESS if no errors were encountered. Otherwise, LiveViewControllerInterface::Response.type
should contain the corresponding error code along with a log message in LiveViewControllerInterface::Response.errorMessage
.
Implements alexaClientSDK::alexaLiveViewControllerInterfaces::LiveViewControllerInterface.
◆ stop()
Response alexaClientSDK::alexaLiveViewController::test::MockAlexaLiveViewControllerInterface::stop |
( |
| ) |
|
|
inlinevirtual |
Stop camera live view stream.
- Returns
- whether camera live view stream has been stopped successfully, or if an error was encountered in the process.
LiveViewControllerInterface::Response.type
should return SUCCESS if no errors were encountered. Otherwise, LiveViewControllerInterface::Response.type
should contain the corresponding error code along with a log message in LiveViewControllerInterface::Response.errorMessage
.
Implements alexaClientSDK::alexaLiveViewControllerInterfaces::LiveViewControllerInterface.
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