AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MacAddressString.h>
Public Member Functions | |
MacAddressString (const MacAddressString &)=default | |
Default copy-constructor so objects can be passed by value. More... | |
std::string | getString () const |
std::string | getTruncatedString () const |
Static Public Member Functions | |
static std::unique_ptr< MacAddressString > | create (const std::string &macAddress) |
A class used to validate a MAC address string before construction.
|
default |
Default copy-constructor so objects can be passed by value.
|
static |
Factory that validates the MAC address before constructing the actual object.
macAddress user supplied MacAddress
std::string alexaClientSDK::avsCommon::utils::MacAddressString::getString | ( | ) | const |
Returns a the MAC address.
std::string alexaClientSDK::avsCommon::utils::MacAddressString::getTruncatedString | ( | ) | const |
Utility function to truncate a valid MAC address. The first 4 octets are X'd out.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0