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

#include <BluetoothEvents.h>

Inheritance diagram for alexaClientSDK::avsCommon::utils::bluetooth::DeviceRemovedEvent:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsCommon::utils::bluetooth::DeviceRemovedEvent:
Collaboration graph
[legend]

Public Member Functions

 DeviceRemovedEvent (const std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterface > &device)
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::utils::bluetooth::BluetoothEvent
virtual ~BluetoothEvent ()=default
 
BluetoothEventType getType () const
 
std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterfacegetDevice () const
 
avsCommon::sdkInterfaces::bluetooth::DeviceState getDeviceState () const
 
MediaStreamingState getMediaStreamingState () const
 
std::shared_ptr< A2DPRolegetA2DPRole () const
 
std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::services::MediaCommandgetMediaCommand () const
 
bool isScanning () const
 
bool isA2DPEnabled () const
 

Additional Inherited Members

- Protected Member Functions inherited from alexaClientSDK::avsCommon::utils::bluetooth::BluetoothEvent
 BluetoothEvent (BluetoothEventType type, std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterface > device=nullptr, avsCommon::sdkInterfaces::bluetooth::DeviceState deviceState=avsCommon::sdkInterfaces::bluetooth::DeviceState::IDLE, MediaStreamingState mediaStreamingState=MediaStreamingState::IDLE, std::shared_ptr< A2DPRole > role=nullptr, std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::services::MediaCommand > mediaCommand=nullptr, bool scanningState=false, bool a2dpEnable=false)
 

Detailed Description

Event indicating that a device is removed from the underlying stack, if applicable. This signifies that the stack is no longer aware of the device. For example, if the stack forgets an unpaired device. This must be sent with a reference to the BluetoothDeviceInterface.

Constructor & Destructor Documentation

◆ DeviceRemovedEvent()

alexaClientSDK::avsCommon::utils::bluetooth::DeviceRemovedEvent::DeviceRemovedEvent ( const std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterface > &  device)
inlineexplicit

Constructor

Parameters
deviceDevice associated with the event

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