Packagecom.aispeech.puremvc.model
Classpublic class AIRecorder4PureMVCProxy
InheritanceAIRecorder4PureMVCProxy Inheritance org.puremvc.as3.patterns.proxy.Proxy
Implements org.puremvc.as3.interfaces.IProxy

AIRecorder4PureMVCProxy wraps RecorderLib to fit the PureMVC framework.

Expose the public methods and properties of RecorderLib. Public methods are called by various AIRecorder4PureMVC commands. Public properties can be accessed by mediators directly.

Send RecorderLib's events as PureMVC notification

See also

com.aispeech.RecorderLib
com.aispeech.puremvc.AIRecorder4PureMVCNotification


Public Properties
 PropertyDefined By
  connectionState : String
[read-only]
AIRecorder4PureMVCProxy
  coreRequesterState : String
[read-only]
AIRecorder4PureMVCProxy
  dingPlayEnabled : Boolean
[write-only]
AIRecorder4PureMVCProxy
  dingVolume : Number
AIRecorder4PureMVCProxy
  micGain : Number
[read-only]
AIRecorder4PureMVCProxy
  microphoneDeviceState : String
[read-only]
AIRecorder4PureMVCProxy
  microphonePanel : MicrophonePanel
[read-only]
AIRecorder4PureMVCProxy
  recorderState : String
[read-only]
AIRecorder4PureMVCProxy
  replayVolume : Number
AIRecorder4PureMVCProxy
Public Methods
 MethodDefined By
  
AIRecorder4PureMVCProxy(data:Object = null)
AIRecorder4PureMVCProxy
  
AIRecorder4PureMVCProxy
  
init(params:Object):void
Init the AIRecorder
AIRecorder4PureMVCProxy
  
reconnect():void
AIRecorder4PureMVCProxy
  
AIRecorder4PureMVCProxy
  
startRecord(params:Object):void
AIRecorder4PureMVCProxy
  
startReplay(params:Object):void
AIRecorder4PureMVCProxy
  
stopRecord():void
AIRecorder4PureMVCProxy
  
stopReplay():void
AIRecorder4PureMVCProxy
Public Constants
 ConstantDefined By
  NAME : String = AIRecorder4PureMVCProxy
[static]
AIRecorder4PureMVCProxy
Property Detail
connectionStateproperty
connectionState:String  [read-only]


Implementation
    public function get connectionState():String
coreRequesterStateproperty 
coreRequesterState:String  [read-only]


Implementation
    public function get coreRequesterState():String
dingPlayEnabledproperty 
dingPlayEnabled:Boolean  [write-only]


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


Implementation
    public function get dingVolume():Number
    public function set dingVolume(value:Number):void
micGainproperty 
micGain:Number  [read-only]


Implementation
    public function get micGain():Number
microphoneDeviceStateproperty 
microphoneDeviceState:String  [read-only]


Implementation
    public function get microphoneDeviceState():String
microphonePanelproperty 
microphonePanel:MicrophonePanel  [read-only]


Implementation
    public function get microphonePanel():MicrophonePanel
recorderStateproperty 
recorderState:String  [read-only]


Implementation
    public function get recorderState():String
replayVolumeproperty 
replayVolume:Number


Implementation
    public function get replayVolume():Number
    public function set replayVolume(value:Number):void
Constructor Detail
AIRecorder4PureMVCProxy()Constructor
public function AIRecorder4PureMVCProxy(data:Object = null)



Parameters
data:Object (default = null)
Method Detail
hideMicrophonePanel()method
public function hideMicrophonePanel():void

init()method 
public function init(params:Object):void

Init the AIRecorder

Parameters

params:Object

reconnect()method 
public function reconnect():void

showMicrophonePanel()method 
public function showMicrophonePanel():void

startRecord()method 
public function startRecord(params:Object):void

Parameters

params:Object

startReplay()method 
public function startReplay(params:Object):void

Parameters

params:Object

stopRecord()method 
public function stopRecord():void

stopReplay()method 
public function stopReplay():void

Constant Detail
NAMEConstant
public static const NAME:String = AIRecorder4PureMVCProxy