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

Base class for an SDPRecord object used. More...

#include <SDPRecords.h>

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

Public Member Functions

 SDPRecord (const std::string &name, const std::string &uuid, const std::string &version)
 
std::string getName () const override
 
std::string getUuid () const override
 
std::string getVersion () const override
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::SDPRecordInterface
virtual ~SDPRecordInterface ()=default
 Destructor. More...
 

Protected Attributes

const std::string m_name
 The service name. More...
 
const std::string m_uuid
 The 128-bit UUID. More...
 
const std::string m_version
 The version. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::SDPRecordInterface
static const std::string BASE_UUID ()
 

Detailed Description

Base class for an SDPRecord object used.

Constructor & Destructor Documentation

◆ SDPRecord()

alexaClientSDK::avsCommon::utils::bluetooth::SDPRecord::SDPRecord ( const std::string &  name,
const std::string &  uuid,
const std::string &  version 
)

Constructor.

Parameters
nameThe Bluetooth Service name.
uuidThe service UUID.
versionThe service version.

Member Function Documentation

◆ getName()

std::string alexaClientSDK::avsCommon::utils::bluetooth::SDPRecord::getName ( ) const
overridevirtual

Gets the service name.

Returns
The service name.

Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::SDPRecordInterface.

◆ getUuid()

std::string alexaClientSDK::avsCommon::utils::bluetooth::SDPRecord::getUuid ( ) const
overridevirtual

◆ getVersion()

std::string alexaClientSDK::avsCommon::utils::bluetooth::SDPRecord::getVersion ( ) const
overridevirtual

Member Data Documentation

◆ m_name

const std::string alexaClientSDK::avsCommon::utils::bluetooth::SDPRecord::m_name
protected

The service name.

◆ m_uuid

const std::string alexaClientSDK::avsCommon::utils::bluetooth::SDPRecord::m_uuid
protected

The 128-bit UUID.

◆ m_version

const std::string alexaClientSDK::avsCommon::utils::bluetooth::SDPRecord::m_version
protected

The version.


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