Class: WebRTC::CreateAnswerOptions
- Inherits:
-
Object
- Object
- WebRTC::CreateAnswerOptions
- Defined in:
- lib/webrtc/parity_types.rb
Instance Attribute Summary collapse
-
#voice_activity_detection ⇒ Object
Returns the value of attribute voice_activity_detection.
Instance Method Summary collapse
-
#initialize(voice_activity_detection: true) ⇒ CreateAnswerOptions
constructor
A new instance of CreateAnswerOptions.
- #to_h ⇒ Object
Constructor Details
#initialize(voice_activity_detection: true) ⇒ CreateAnswerOptions
Returns a new instance of CreateAnswerOptions.
146 147 148 |
# File 'lib/webrtc/parity_types.rb', line 146 def initialize(voice_activity_detection: true) @voice_activity_detection = voice_activity_detection end |
Instance Attribute Details
#voice_activity_detection ⇒ Object
Returns the value of attribute voice_activity_detection.
144 145 146 |
# File 'lib/webrtc/parity_types.rb', line 144 def voice_activity_detection @voice_activity_detection end |
Instance Method Details
#to_h ⇒ Object
150 151 152 |
# File 'lib/webrtc/parity_types.rb', line 150 def to_h { voice_activity_detection: @voice_activity_detection } end |