AlexaClientSDK  1.25.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Public Member Functions | List of all members
alexaClientSDK::acsdkBluetoothInterfaces::BluetoothDeviceObserverInterface Class Referenceabstract

#include <BluetoothDeviceObserverInterface.h>

Inheritance diagram for alexaClientSDK::acsdkBluetoothInterfaces::BluetoothDeviceObserverInterface:
Inheritance graph
[legend]

Classes

struct  DeviceAttributes
 

Public Member Functions

virtual ~BluetoothDeviceObserverInterface ()=default
 
virtual void onActiveDeviceConnected (const DeviceAttributes &attributes)=0
 
virtual void onActiveDeviceDisconnected (const DeviceAttributes &attributes)=0
 

Detailed Description

This interface allows a derived class to know when a bluetooth device is connected or disconnected.

Constructor & Destructor Documentation

◆ ~BluetoothDeviceObserverInterface()

virtual alexaClientSDK::acsdkBluetoothInterfaces::BluetoothDeviceObserverInterface::~BluetoothDeviceObserverInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ onActiveDeviceConnected()

virtual void alexaClientSDK::acsdkBluetoothInterfaces::BluetoothDeviceObserverInterface::onActiveDeviceConnected ( const DeviceAttributes attributes)
pure virtual

Used to notify the observer when an active bluetooth device is connected.

Parameters
attributesThe DeviceAttributes of the active bluetooth device.

Implemented in alexaClientSDK::sampleApp::UIManager.

◆ onActiveDeviceDisconnected()

virtual void alexaClientSDK::acsdkBluetoothInterfaces::BluetoothDeviceObserverInterface::onActiveDeviceDisconnected ( const DeviceAttributes attributes)
pure virtual

Used to notify the observer when an active bluetooth device is disconnected.

Parameters
attributesThe DeviceAttributes of the active bluetooth device.

Implemented in alexaClientSDK::sampleApp::UIManager.


The documentation for this class was generated from the following file:

AlexaClientSDK 1.25.0 - Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0