A test observer that mocks out the ChannelObserverInterface#onFocusChanged() call.
More...
A test observer that mocks out the ChannelObserverInterface#onFocusChanged() call.
◆ TestClient() [1/4]
alexaClientSDK::integration::test::TestClient::TestClient |
( |
| ) |
|
|
inline |
◆ TestClient() [2/4]
alexaClientSDK::integration::test::TestClient::TestClient |
( |
| ) |
|
|
inline |
◆ TestClient() [3/4]
alexaClientSDK::integration::test::TestClient::TestClient |
( |
| ) |
|
|
inline |
◆ TestClient() [4/4]
alexaClientSDK::integration::test::TestClient::TestClient |
( |
| ) |
|
|
inline |
◆ getCurrentFocusState()
FocusState alexaClientSDK::integration::test::TestClient::getCurrentFocusState |
( |
| ) |
|
|
inline |
◆ onFocusChanged() [1/4]
◆ onFocusChanged() [2/4]
◆ onFocusChanged() [3/4]
◆ onFocusChanged() [4/4]
◆ waitForFocusChange() [1/4]
FocusState alexaClientSDK::integration::test::TestClient::waitForFocusChange |
( |
std::chrono::milliseconds |
timeout | ) |
|
|
inline |
Waits for the ChannelObserverInterface#onFocusChanged() callback.
- Parameters
-
timeout | The amount of time to wait for the callback. |
focusChanged | An output parameter that notifies the caller whether a callback occurred. |
- Returns
- Returns
true
if the callback occured within the timeout period and false
otherwise.
◆ waitForFocusChange() [2/4]
FocusState alexaClientSDK::integration::test::TestClient::waitForFocusChange |
( |
std::chrono::milliseconds |
timeout | ) |
|
|
inline |
Waits for the ChannelObserverInterface#onFocusChanged() callback.
- Parameters
-
timeout | The amount of time to wait for the callback. |
focusChanged | An output parameter that notifies the caller whether a callback occurred. |
- Returns
- Returns
true
if the callback occured within the timeout period and false
otherwise.
◆ waitForFocusChange() [3/4]
FocusState alexaClientSDK::integration::test::TestClient::waitForFocusChange |
( |
std::chrono::milliseconds |
timeout, |
|
|
bool * |
focusChanged |
|
) |
| |
|
inline |
Waits for the ChannelObserverInterface#onFocusChanged() callback.
- Parameters
-
timeout | The amount of time to wait for the callback. |
focusChanged | An output parameter that notifies the caller whether a callback occurred. |
- Returns
- Returns
true
if the callback occurred within the timeout period and false
otherwise.
◆ waitForFocusChange() [4/4]
FocusState alexaClientSDK::integration::test::TestClient::waitForFocusChange |
( |
std::chrono::milliseconds |
timeout, |
|
|
bool * |
focusChanged |
|
) |
| |
|
inline |
Waits for the ChannelObserverInterface#onFocusChanged() callback.
- Parameters
-
timeout | The amount of time to wait for the callback. |
focusChanged | An output parameter that notifies the caller whether a callback occurred. |
- Returns
- Returns
true
if the callback occured within the timeout period and false
otherwise.
The documentation for this class was generated from the following files:
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0