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
- Alphabetic
- By Inheritance
- Record
- Serializable
- Serializable
- Product
- Equals
- FSExecuteApp
- FSCommand
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
application: String
- Definition Classes
- Record → FSExecuteApp
-
val
args: String
- Definition Classes
- Record → FSExecuteApp
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
config: ApplicationCommandConfig
- Definition Classes
- Record → FSExecuteApp
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
eventUuid: String
- Definition Classes
- FSCommand
- val filePath: String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val silenceHits: Option[Duration]
- val silenceThresh: Duration
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timeLimitSecs: Duration
-
def
toString(): String
- Definition Classes
- FSExecuteApp → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
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.