#include <ostream>
#include <string>
Go to the source code of this file.
◆ DeviceCategory
Represent the paired device category.
| Enumerator |
|---|
| REMOTE_CONTROL | |
| GADGET | |
| AUDIO_VIDEO | |
| PHONE | |
| OTHER | |
| UNKNOWN | |
◆ deviceCategoryToString()
Converts the DeviceCategory enum to a string.
- Parameters
-
| The | DeviceCategory to convert. |
- Returns
- A string representation of the
DeviceCategory.
◆ operator<<()
| std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const DeviceCategory |
category |
|
) |
| |
|
inline |
Overload for the DeviceCategory enum. This will write the DeviceCategory as a string to the provided stream.
- Parameters
-
| An | ostream to send the DeviceCategory as a string. |
| The | DeviceCategory to convert. |
- Returns
- The stream.
◆ stringToDeviceCategory()
Converts the string to DeviceCategory enum.
- Parameters
-
| A | string representation of the DeviceCategory. |
- Returns
- The
DeviceCategory.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0