◆ testStateProvider()
◆ ~testStateProvider()
alexaClientSDK::integration::test::testStateProvider::~testStateProvider |
( |
| ) |
|
|
inline |
◆ checkStateRequested()
bool alexaClientSDK::integration::test::testStateProvider::checkStateRequested |
( |
| ) |
|
|
inline |
◆ doShutdown()
void alexaClientSDK::integration::test::testStateProvider::doShutdown |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
Prepares/enables this object to be deleted. This should be the last function called on this object prior to deleting (or resetting) its shared_ptr.
- Warning
- Attempting to call functions on this object after calling shutdown() can result in undefined behavior.
- Neglecting to call shutdown() on this object can result in resource leaks or other undefined behavior.
Implements alexaClientSDK::avsCommon::utils::RequiresShutdown.
◆ provideState()
void alexaClientSDK::integration::test::testStateProvider::provideState |
( |
const NamespaceAndName & |
stateProviderName, |
|
|
const unsigned int |
stateRequestToken |
|
) |
| |
|
inlineoverridevirtual |
A request to a StateProvider
to provide the state. The StateProvider
should perform minimum processing and return quickly, otherwise it will block the processing of updating the states of other StateProviders
. The ContextManager
specifies a token which it uses to track the getContext
request associated with this provideState
request. The stateProviderInterface
must use the same token when it updates its state via the setState
call.
@Note: The setState method MUST be called from a different thread from where the provideState method is being called from.
- Parameters
-
stateProviderName | The name of the state provider. |
stateRequestToken | The token to use in the setState call. |
- Deprecated:
NamespaceAndName
is being deprecated. Use the CapabilityMessageIdentifier version instead.
Reimplemented from alexaClientSDK::avsCommon::sdkInterfaces::StateProviderInterface.
The documentation for this class was generated from the following file:
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0