Class: OmniAI::Google::Live::Event::VoiceActivity

Inherits:
Data
  • Object
show all
Defined in:
lib/omniai/google/live/event.rb

Overview

Speech start/end detected by the server; offset is seconds into the session's input audio.

Instance Attribute Summary collapse

Instance Attribute Details

#offset ⇒ Object (readonly)

Returns the value of attribute offset

Returns:

  • (Object) —

    the current value of offset



30
31
32
# File 'lib/omniai/google/live/event.rb', line 30

def offset
  @offset
end

#type ⇒ Object (readonly)

Returns the value of attribute type

Returns:

  • (Object) —

    the current value of type



30
31
32
# File 'lib/omniai/google/live/event.rb', line 30

def type
  @type
end