移动开发 phonegap 互动版

startRecord

使用 startRecord()来开始录音,如下所示:

function startRecording() { 
    var src = "recording.mp3"; 
    var myRecording = new Media(src, onSuccess, onError);
    myRecording.startRecord(); 
}