![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <BluetoothEvents.h>
Public Member Functions | |
MediaStreamingStateChangedEvent (MediaStreamingState newState, A2DPRole role, 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's streaming state has changed. This refers to the A2DP profile. This must be sent on transitions between MediaStreamingState
.
|
inlineexplicit |
Constructor
newState | New media streaming state |
role | The A2DPRole associated with the device running the SDK |
device | The peer device that is connected and whose streaming status changed |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0