#include <MockBluetoothDeviceConnectionRule.h>
◆ MockBluetoothDeviceConnectionRule()
alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::MockBluetoothDeviceConnectionRule |
( |
std::set< DeviceCategory > |
categories, |
|
|
std::set< std::string > |
profiles |
|
) |
| |
◆ devicesToDisconnect()
◆ getDependentProfiles()
std::set< std::string > alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::getDependentProfiles |
( |
| ) |
|
|
overridevirtual |
◆ getDeviceCategories()
std::set< DeviceCategory > alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::getDeviceCategories |
( |
| ) |
|
|
overridevirtual |
◆ setDevicesToDisconnect()
void alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::setDevicesToDisconnect |
( |
std::set< std::shared_ptr< BluetoothDeviceInterface >> |
devices | ) |
|
Helper function to test devicesToDisconnect(Map<DeviceCategory, Set<BluetoothDeviceInterface>>) method.
- Parameters
-
devices | a set of devices needed to disconnect. |
◆ setExplicitlyConnect()
void alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::setExplicitlyConnect |
( |
bool |
explicitlyConnect | ) |
|
Helper function to test shouldExplicitlyConnect() method.
- Parameters
-
explicitlyConnect | A bool indicating if a device needs to explicitly connect. |
◆ setExplicitlyDisconnect()
void alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::setExplicitlyDisconnect |
( |
bool |
explicitlyDisconnect | ) |
|
Helper function to test shouldExplicitlyDisconnect() method.
- Parameters
-
explicitlyDisconnect | A bool indicating if a device needs to explicitly connect. |
◆ shouldExplicitlyConnect()
bool alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::shouldExplicitlyConnect |
( |
| ) |
|
|
overridevirtual |
◆ shouldExplicitlyDisconnect()
bool alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::shouldExplicitlyDisconnect |
( |
| ) |
|
|
overridevirtual |
◆ m_categories
std::set<DeviceCategory> alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::m_categories |
|
protected |
◆ m_disconnectedDevices
std::set<std::shared_ptr<BluetoothDeviceInterface> > alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::m_disconnectedDevices |
|
protected |
◆ m_explicitlyConnect
bool alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::m_explicitlyConnect |
|
protected |
◆ m_explicitlyDisconnect
bool alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::m_explicitlyDisconnect |
|
protected |
◆ m_profiles
std::set<std::string> alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule::m_profiles |
|
protected |
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