final case class Record(filePath: String, timeLimitSecs: Duration, silenceThresh: Duration, silenceHits: Option[Duration], config: ApplicationCommandConfig) extends FSExecuteApp with Product with Serializable

Record to a file from the channel's input media stream Record is used to record voice messages, such as in a voicemail system. This application will record to a file specified by <path>. After recording stops the record app sets the following read-only variables:

record_ms — duration of most recently recorded file in milliseconds record_samples — number of recorded samples playback_terminator_used — TouchTone digit used to terminate recording

filePath

: String An application will record to a file specified by file path.

timeLimitSecs

: Duration it is the maximum duration of the recording in seconds

silenceThresh

: Duration it is an energy level below which is considered silence.

silenceHits

: Duration it is how many seconds of audio below silence_thresh will be tolerated before the recording stops. When omitted, the default value is 3 seconds

config

:ApplicationCommandConfig

Linear Supertypes
Serializable, Serializable, Product, Equals, FSExecuteApp, FSCommand, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Record
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FSExecuteApp
  7. FSCommand
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Record(filePath: String, timeLimitSecs: Duration, silenceThresh: Duration, silenceHits: Option[Duration], config: ApplicationCommandConfig)

    filePath

    : String An application will record to a file specified by file path.

    timeLimitSecs

    : Duration it is the maximum duration of the recording in seconds

    silenceThresh

    : Duration it is an energy level below which is considered silence.

    silenceHits

    : Duration it is how many seconds of audio below silence_thresh will be tolerated before the recording stops. When omitted, the default value is 3 seconds

    config

    :ApplicationCommandConfig

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val application: String
    Definition Classes
    RecordFSExecuteApp
  5. val args: String
    Definition Classes
    RecordFSExecuteApp
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. val config: ApplicationCommandConfig
    Definition Classes
    RecordFSExecuteApp
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val eventUuid: String
    Definition Classes
    FSCommand
  11. val filePath: String
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val silenceHits: Option[Duration]
  18. val silenceThresh: Duration
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. val timeLimitSecs: Duration
  21. def toString(): String
    Definition Classes
    FSExecuteApp → AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FSExecuteApp

Inherited from FSCommand

Inherited from AnyRef

Inherited from Any

Ungrouped