![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <BluetoothEvents.h>
Public Member Functions | |
DeviceRemovedEvent (const std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterface > &device) | |
![]() | |
virtual | ~BluetoothEvent ()=default |
BluetoothEventType | getType () const |
std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::BluetoothDeviceInterface > | getDevice () const |
avsCommon::sdkInterfaces::bluetooth::DeviceState | getDeviceState () const |
MediaStreamingState | getMediaStreamingState () const |
std::shared_ptr< A2DPRole > | getA2DPRole () const |
std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::services::MediaCommand > | getMediaCommand () const |
bool | isScanning () const |
bool | isA2DPEnabled () const |
Additional Inherited Members | |
![]() | |
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) | |
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
.
|
inlineexplicit |
Constructor
device | Device associated with the event |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0