Titanium.Media.AudioRecorder

Object of Titanium.Media.
Platform Since
iPhone 0.9
iPad 0.9

Summary

The AudioRecorder object is returned by Titanium.Media.createAudioRecorder and is used for recording audio from the device microphone.

Methods

Name Summary
addEventListener

Adds the specified callback as an event listener for the named event.

fireEvent

Fires a synthesized event to any registered listeners.

getCompression

Gets the value of the compression property.

getFormat

Gets the value of the format property.

getPaused

Gets the value of the paused property.

getRecording

Gets the value of the recording property.

getStopped

Gets the value of the stopped property.

pause

called to temporarily pause recording

removeEventListener

Removes the specified callback as an event listener for the named event.

resume

called to resume audio recording

setCompression

Sets the value of the compression property.

setFormat

Sets the value of the format property.

setPaused

Sets the value of the paused property.

setRecording

Sets the value of the recording property.

setStopped

Sets the value of the stopped property.

start

called to start recording audio

stop

called to stop recording audio

Properties

Name Type Summary
compression Number

audio compression constant to be used for the recording

format Number

audio format constant for used for the recording

paused Boolean

readonly property to indicate if paused

recording Boolean

readonly property to indicate if recording

stopped Boolean

readonly property to indicate if stopped

Events

This type has no events.