AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
struct | AudioProperties |
struct | Camera |
struct | Configuration |
struct | DisplayProperties |
class | LiveViewControllerInterface |
class | LiveViewControllerObserverInterface |
struct | Participants |
struct | Target |
struct | Viewer |
struct | ViewerExperience |
Functions | |
std::string | audioStateToString (AudioState audioState) |
bool | audioStateToMicrophoneState (AudioState audioState) |
AudioState | microphoneStateToAudioState (bool microphoneState) |
std::string | motionCapabilityToString (MotionCapability motionCapability) |
std::string | concurrentTwoWayTalkStateToString (ConcurrentTwoWayTalkState concurrentTwoWayTalkState) |
std::string | displayModeToString (DisplayMode displayMode) |
std::string | liveViewTriggerToString (LiveViewTrigger liveViewTrigger) |
std::string | overlayPositionToString (OverlayPosition overlayPosition) |
std::string | overlayTypeToString (OverlayType overlayType) |
std::string | roleToString (Role role) |
std::string | talkModeToString (TalkMode talkMode) |
std::string | viewerStateToString (Viewer::ViewerState viewerState) |
std::string | targetTypeToString (Target::TargetType targetType) |
Enumeration of audio state properties. Defines the state of the microphone and speaker when the streaming session starts.
Enumeration of camera state known by the LiveViewController CA.
Enumerator | |
---|---|
CONNECTING | Camera is connecting currently which means RTCSC session is being initialized. |
CONNECTED | Camera is currently connected which means RTCSC is ready to deliver the live camera stream. |
DISCONNECTED | Camera is disconnected which means it cannot get the live camera stream anymore. |
ERROR | Camera has encountered an error which means it needs to reestablish the RTCSC session. |
UNKNOWN | Camera is in an unknown state. |
Enumeration of concurrent two way talk state properties. Indicates whether the camera supports two-way communication with the viewing device.
Enumerator | |
---|---|
ENABLED | Camera supports two-way audio communication with the viewing device. |
DISABLED | Camera doesn't support two-way audio communication with the viewing device. |
UNKNOWN | Any other concurrent two-way talk state not covered by the ones above. |
Enumeration of display mode properties. Defines the supported modes to render the stream.
Enumeration of live view trigger properties. Defines the reason that the live view session started.
Enumeration of overlay position properties. Defines the position on the screen to display the overlay.
Enumeration of overlay type properties. Defines the type of overlay supported by the viewing device.
Enumeration of role properties. Role property is used to specify the role of the device for the streaming session. The device can act as a security camera or a viewer of a security camera stream.
Enumeration of status properties. Indicates the reason for the Alexa.StopLiveView directive being received or the Alexa.LiveViewStopped event being sent in their payloads.
Enumeration of talk mode properties. Defines the audio communication supported by the camera.
Enumerator | |
---|---|
NO_SUPPORT | Camera doesn't support audio communication. |
PRESS_AND_HOLD | The camera supports two-way communication in the style of a walkie-talkie. The user pushes the microphone on the viewing device to talk, and then releases to listen. |
TAP | The camera supports two-way audio communication. The user taps the microphone on the viewing device to unmute and talk, and then taps to mute the microphone. |
UNKNOWN | Any other talk mode not covered by the ones above. |
|
inline |
Converts an AudioState
value to a boolean representing the microphone state.
audioState | The audio state value to convert to the microphone state. |
audioState
is unmuted, false otherwise.
|
inline |
Converts an AudioState
value to an AVS-compliant string.
audioState | The audio state value to convert to a string. |
std::string
conversion of the AudioState
value.
|
inline |
Converts a ConcurrentTwoWayTalkState
value to an AVS-compliant string.
concurrentTwoWayTalkState | The concurrent two-way talk state value to convert to a string. |
std::string
conversion of the ConcurrentTwoWayTalkState
value.
|
inline |
Converts a DisplayMode
value to an AVS-compliant string.
displayMode | The display mode value to convert to a string. |
std::string
conversion of the DisplayMode
value.
|
inline |
Converts a LiveViewTrigger
value to an AVS-compliant string.
liveViewTrigger | The live view trigger value to convert to a string. |
std::string
conversion of the LiveViewTrigger
value.
|
inline |
Converts a microphone state in boolean (true if unmuted, false otherwise) to an AudioState
.
microphoneState | The microphone state value to convert to the audio state. |
microphoneState
is true, AudioState::MUTED otherwise.
|
inline |
Converts a MotionCapability
value to an AVS-compliant string.
motionCapability | The motion capability value to convert to a string. |
std::string
conversion of the MotionCapability
value.
|
inline |
Converts an OverlayPosition
value to an AVS-compliant string.
overlayPosition | The overlay position value to convert to a string. |
std::string
conversion of the OverlayPosition
value.
|
inline |
Converts an OverlayType
value to an AVS-compliant string.
overlayType | The overlay type value to convert to a string. |
std::string
conversion of the OverlayType
value.
|
inline |
Converts a Role
value to an AVS-compliant string.
role | The role value to convert to a string. |
std::string
conversion of the Role
value.
|
inline |
Converts a TalkMode
value to an AVS-compliant string.
talkMode | The talk mode value to convert to a string. |
std::string
conversion of the TalkMode
value.
|
inline |
Converts a TargetType
value to an AVS-compliant string.
targetType | The target type value to convert to a string. |
std::string
conversion of the TargetType
value.
|
inline |
Converts a ViewerState
value to an AVS-compliant string.
viewerState | The viewer state value to convert to a string. |
std::string
conversion of the ViewerState
value. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0