Class: Aws::Polly::Types::AudioEvent

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb

Overview

Contains a chunk of synthesized audio data.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#audio_chunkString

A chunk of synthesized audio data encoded in the format specified by the OutputFormat parameter.

Returns:

  • (String)


22
23
24
25
26
27
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 22

class AudioEvent < Struct.new(
  :audio_chunk,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



22
23
24
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 22

def event_type
  @event_type
end