AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Static Public Member Functions | List of all members
alexaClientSDK::acsdkBluetooth::BasicDeviceConnectionRulesProvider Class Reference

#include <BasicDeviceConnectionRulesProvider.h>

Inheritance diagram for alexaClientSDK::acsdkBluetooth::BasicDeviceConnectionRulesProvider:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkBluetooth::BasicDeviceConnectionRulesProvider:
Collaboration graph
[legend]

Public Member Functions

BluetoothDeviceConnectionRulesProviderInterface
std::unordered_set< std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface > > getRules () override
 
- Public Member Functions inherited from alexaClientSDK::acsdkBluetoothInterfaces::BluetoothDeviceConnectionRulesProviderInterface
virtual ~BluetoothDeviceConnectionRulesProviderInterface ()=default
 

Static Public Member Functions

static std::shared_ptr< acsdkBluetoothInterfaces::BluetoothDeviceConnectionRulesProviderInterfacecreateBluetoothDeviceConnectionRulesProviderInterface ()
 

Detailed Description

This class provides the default BasicDeviceConnectionRule for the Bluetooth Capability Agent.

If you wish to add custom rules, you should implement the BluetoothDeviceConnectionRulesProviderInterface and pass that to the Bluetooth CA.

Member Function Documentation

◆ createBluetoothDeviceConnectionRulesProviderInterface()

static std::shared_ptr<acsdkBluetoothInterfaces::BluetoothDeviceConnectionRulesProviderInterface> alexaClientSDK::acsdkBluetooth::BasicDeviceConnectionRulesProvider::createBluetoothDeviceConnectionRulesProviderInterface ( )
static

◆ getRules()

std::unordered_set<std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceConnectionRuleInterface> > alexaClientSDK::acsdkBluetooth::BasicDeviceConnectionRulesProvider::getRules ( )
overridevirtual

Returns the unordered set of BluetoothDeviceConnectionRuleInterfaces added to this provider.

Returns
The set of rules.

Implements alexaClientSDK::acsdkBluetoothInterfaces::BluetoothDeviceConnectionRulesProviderInterface.


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