AWS SDK for C++  1.8.76
AWS SDK for C++
Public Member Functions | List of all members
Aws::TranscribeStreamingService::Model::StartStreamTranscriptionHandler Class Reference

#include <StartStreamTranscriptionHandler.h>

+ Inheritance diagram for Aws::TranscribeStreamingService::Model::StartStreamTranscriptionHandler:

Public Member Functions

 StartStreamTranscriptionHandler ()
 
StartStreamTranscriptionHandleroperator= (const StartStreamTranscriptionHandler &handler)=default
 
virtual void OnEvent () override
 
void SetTranscriptEventCallback (const TranscriptEventCallback &callback)
 
void SetOnErrorCallback (const ErrorCallback &callback)
 
- Public Member Functions inherited from Aws::Utils::Event::EventStreamHandler
 EventStreamHandler ()
 
virtual ~EventStreamHandler ()=default
 
 operator bool () const
 
void SetFailure ()
 
virtual void Reset ()
 
void SetInternalError (int errorCode=0)
 
EventStreamErrors GetInternalError ()
 
virtual bool IsMessageCompleted ()
 
virtual void SetMessageMetadata (size_t totalLength, size_t headersLength, size_t payloadLength)
 
virtual void WriteMessageEventPayload (const unsigned char *data, size_t dataLength)
 
virtual Aws::Vector< unsigned char > && GetEventPayloadWithOwnership ()
 
virtual Aws::String GetEventPayloadAsString ()
 
virtual void InsertMessageEventHeader (const String &eventHeaderName, size_t eventHeaderLength, const Aws::Utils::Event::EventHeaderValue &eventHeaderValue)
 
virtual const Aws::Utils::Event::EventHeaderValueCollectionGetEventHeaders ()
 

Detailed Description

Definition at line 27 of file StartStreamTranscriptionHandler.h.

Constructor & Destructor Documentation

◆ StartStreamTranscriptionHandler()

Aws::TranscribeStreamingService::Model::StartStreamTranscriptionHandler::StartStreamTranscriptionHandler ( )

Member Function Documentation

◆ OnEvent()

virtual void Aws::TranscribeStreamingService::Model::StartStreamTranscriptionHandler::OnEvent ( )
overridevirtual

Entry point of all callback functions. Will trigger associated functions based on m_message.

Implements Aws::Utils::Event::EventStreamHandler.

◆ operator=()

StartStreamTranscriptionHandler& Aws::TranscribeStreamingService::Model::StartStreamTranscriptionHandler::operator= ( const StartStreamTranscriptionHandler handler)
default

◆ SetOnErrorCallback()

void Aws::TranscribeStreamingService::Model::StartStreamTranscriptionHandler::SetOnErrorCallback ( const ErrorCallback &  callback)
inline

Definition at line 39 of file StartStreamTranscriptionHandler.h.

◆ SetTranscriptEventCallback()

void Aws::TranscribeStreamingService::Model::StartStreamTranscriptionHandler::SetTranscriptEventCallback ( const TranscriptEventCallback &  callback)
inline

Definition at line 38 of file StartStreamTranscriptionHandler.h.


The documentation for this class was generated from the following file: