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

#include <BluetoothEventState.h>

Public Member Functions

avsCommon::sdkInterfaces::bluetooth::DeviceState getDeviceState () const
 
avsCommon::utils::Optional< avsCommon::avs::RequestergetRequester () const
 
avsCommon::utils::Optional< std::string > getProfileName () const
 
 BluetoothEventState (avsCommon::sdkInterfaces::bluetooth::DeviceState state, avsCommon::utils::Optional< avsCommon::avs::Requester > requester, avsCommon::utils::Optional< std::string > profileName)
 

Detailed Description

A class represents a Bluetooth event needed to send to cloud.

Constructor & Destructor Documentation

◆ BluetoothEventState()

alexaClientSDK::acsdkBluetooth::BluetoothEventState::BluetoothEventState ( avsCommon::sdkInterfaces::bluetooth::DeviceState  state,
avsCommon::utils::Optional< avsCommon::avs::Requester requester,
avsCommon::utils::Optional< std::string >  profileName 
)

Constructor

Parameters
stateThe DeviceState.
requesterThe Requester.
profileNameThe profileName.

Member Function Documentation

◆ getDeviceState()

avsCommon::sdkInterfaces::bluetooth::DeviceState alexaClientSDK::acsdkBluetooth::BluetoothEventState::getDeviceState ( ) const

Getter for the DeviceState.

Returns
The DeviceState of the Bluetooth Event.

◆ getProfileName()

avsCommon::utils::Optional<std::string> alexaClientSDK::acsdkBluetooth::BluetoothEventState::getProfileName ( ) const

Getter for the profile name.

Returns
The profile name of the Bluetooth Event.

◆ getRequester()

avsCommon::utils::Optional<avsCommon::avs::Requester> alexaClientSDK::acsdkBluetooth::BluetoothEventState::getRequester ( ) const

Getter for the Requester.

Returns
The Requester of the Bluetooth 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