![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <BluetoothDeviceConnectionRuleInterface.h>
Public Member Functions | |
virtual | ~BluetoothDeviceConnectionRuleInterface ()=default |
virtual bool | shouldExplicitlyConnect ()=0 |
virtual bool | shouldExplicitlyDisconnect ()=0 |
virtual std::set< std::shared_ptr< BluetoothDeviceInterface > > | devicesToDisconnect (std::map< DeviceCategory, std::set< std::shared_ptr< BluetoothDeviceInterface >>> connectedDevices)=0 |
virtual std::set< DeviceCategory > | getDeviceCategories ()=0 |
virtual std::set< std::string > | getDependentProfiles ()=0 |
This interface defines the connection rule the Bluetooth device needs to follow.
|
virtualdefault |
Destructor.
|
pure virtual |
The rule to get a set of Bluetooth devices needed to disconnect when the Bluetooth device connects.
connectedDevices | the current connected devices. |
Implemented in alexaClientSDK::acsdkBluetooth::BasicDeviceConnectionRule, and alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule.
|
pure virtual |
Get the set of profile uuids which support those device categories defined in the connection rule.
Implemented in alexaClientSDK::acsdkBluetooth::BasicDeviceConnectionRule, and alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule.
|
pure virtual |
Get the set of device categories using the connection rule.
DeviceCategory
of the connection rule. Implemented in alexaClientSDK::acsdkBluetooth::BasicDeviceConnectionRule, and alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule.
|
pure virtual |
The rule to explicitly connect the Bluetooth device after pair.
Implemented in alexaClientSDK::acsdkBluetooth::BasicDeviceConnectionRule, and alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule.
|
pure virtual |
The rule to explicitly disconnect the Bluetooth device before unpair.
Implemented in alexaClientSDK::acsdkBluetooth::BasicDeviceConnectionRule, and alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::test::MockBluetoothDeviceConnectionRule.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0