![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <DeviceConnectionRulesAdapter.h>
Public Member Functions | |
DeviceConnectionRulesAdapter (std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface >> rules) | |
BluetoothDeviceConnectionRulesProviderInterface | |
std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface > > | getRules () override |
![]() | |
virtual | ~BluetoothDeviceConnectionRulesProviderInterface ()=default |
This class is provided to maintain backwards compatibility with applications that have not yet implemented a custom BluetoothDeviceConnectionRulesProviderInterface
(if the default BasicDeviceConnectionRulesProvider
is insufficient).
This class adapts unordered sets of BluetoothDeviceConnectionRules
into a BluetoothDeviceConnectionRulesProviderInterface
.
alexaClientSDK::acsdkBluetooth::DeviceConnectionRulesAdapter::DeviceConnectionRulesAdapter | ( | std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface >> | rules | ) |
Constructor.
rules | The set of BluetoothDeviceConnectionRuleInterfaces to provide. |
|
overridevirtual |
Returns the unordered set of BluetoothDeviceConnectionRuleInterfaces
added to this provider.
Implements alexaClientSDK::acsdkBluetoothInterfaces::BluetoothDeviceConnectionRulesProviderInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0