AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Classes | Enumerations | Functions
alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services Namespace Reference

Namespaces

 test
 

Classes

class  A2DPSinkInterface
 
class  A2DPSourceInterface
 
class  AVRCPControllerInterface
 Used to implement an instance of AVRCPController (Audio/Video Remote Control Profile). More...
 
class  AVRCPTargetInterface
 Used to implement an instance of AVRCPTarget (Audio/Video Remote Control Profile). More...
 
class  BluetoothServiceInterface
 
class  HFPInterface
 
class  HIDInterface
 
class  SDPRecordInterface
 Used to implement ServiceDiscoveryProtocol records. This allows identification of the service. More...
 
class  SPPInterface
 

Enumerations

enum  MediaCommand {
  MediaCommand::PLAY, MediaCommand::PAUSE, MediaCommand::NEXT, MediaCommand::PREVIOUS,
  MediaCommand::PLAY_PAUSE
}
 An Enum representing Media commands. More...
 

Functions

std::string commandToString (MediaCommand cmd)
 
std::ostream & operator<< (std::ostream &stream, const MediaCommand cmd)
 

Enumeration Type Documentation

◆ MediaCommand

An Enum representing Media commands.

Enumerator
PLAY 

A Play command.

PAUSE 

A Pause command.

NEXT 

A Next command.

PREVIOUS 

A Previous command. If issued at the beginning of a song, the previous track will be selected.

PLAY_PAUSE 

A Play/Pause command.

Function Documentation

◆ commandToString()

std::string alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::commandToString ( MediaCommand  cmd)
inline

Converts the MediaCommand enum to a string.

Parameters
cmdThe MediaCommand to convert.
Returns
A string representation of the MediaCommand.

◆ operator<<()

std::ostream& alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::operator<< ( std::ostream &  stream,
const MediaCommand  cmd 
)
inline

Overload for the MediaCommand enum. This will write the MediaCommand as a string to the provided stream.

Parameters
streamAn ostream to send the DeviceState as a string.
cmdThe MediaCommand to convert.
Returns
The stream.

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