Example usage for org.apache.cordova AudioPlayer stopRecording

List of usage examples for org.apache.cordova AudioPlayer stopRecording

Introduction

In this page you can find the example usage for org.apache.cordova AudioPlayer stopRecording.

Prototype

public void stopRecording() 

Source Link

Document

Stop recording and save to the file specified when recording started.

Usage

From source file:com.candygram.media.AudioHandler.java

License:Apache License

/**
 * Stop recording and save to the file specified when recording started.
 * @param id            The id of the audio player
 *///from  w  w w .  jav a  2 s.  co m
public void stopRecordingAudio(String id) {
    AudioPlayer audio = this.players.get(id);
    if (audio != null) {
        audio.stopRecording();
    }
}