Class: Bandwidth::ModeEnum

Inherits:
Object
  • Object
show all
Defined in:
lib/bandwidth/voice_lib/voice/models/mode_enum.rb

Overview

The machine detection mode. If set to ‘async’, the detection result will be sent in a ‘machineDetectionComplete’ callback. If set to ‘sync’, the ‘answer’ callback will wait for the machine detection to complete and will include its result. Default is ‘async’.

Constant Summary collapse

MODE_ENUM =
[
  # TODO: Write general description for SYNC
  SYNC = 'sync'.freeze,

  # TODO: Write general description for ASYNC
  ASYNC = 'async'.freeze
].freeze