Packagecom.aispeech.recorder
Interfacepublic interface IRecorder extends flash.events.IEventDispatcher
Implementors Recorder4HTTPService, Recorder4LocalService, Recorder4RTMPService

Interface for an audio recorder



Public Properties
 PropertyDefined By
  dingPlayEnabled : Boolean
IRecorder
  dingVolume : Number
IRecorder
  replayVolume : Number
IRecorder
  state : String
[read-only]
IRecorder
Public Methods
 MethodDefined By
  
dispose():void
IRecorder
  
init(connection:IConnection, coreRequester:ICoreRequester):void
IRecorder
  
startRecord(recordLength:int = 2000):String
IRecorder
  
startReplay(recordId:String):String
IRecorder
  
stopRecord(stopType:String):String
IRecorder
  
stopReplay():String
IRecorder
Property Detail
dingPlayEnabledproperty
dingPlayEnabled:Boolean


Implementation
    public function get dingPlayEnabled():Boolean
    public function set dingPlayEnabled(value:Boolean):void
dingVolumeproperty 
dingVolume:Number


Implementation
    public function get dingVolume():Number
    public function set dingVolume(value:Number):void
replayVolumeproperty 
replayVolume:Number


Implementation
    public function get replayVolume():Number
    public function set replayVolume(value:Number):void
stateproperty 
state:String  [read-only]


Implementation
    public function get state():String
Method Detail
dispose()method
public function dispose():void

init()method 
public function init(connection:IConnection, coreRequester:ICoreRequester):void

Parameters

connection:IConnection
 
coreRequester:ICoreRequester

startRecord()method 
public function startRecord(recordLength:int = 2000):String

Parameters

recordLength:int (default = 2000)

Returns
String
startReplay()method 
public function startReplay(recordId:String):String

Parameters

recordId:String

Returns
String
stopRecord()method 
public function stopRecord(stopType:String):String

Parameters

stopType:String

Returns
String
stopReplay()method 
public function stopReplay():String

Returns
String