Back to project page android-continuous-voice.
The source code is released under:
Copyright (c) 2015, Marius Fink - Universit?t Hamburg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following ...
If you think the Android project android-continuous-voice listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.uniHamburg.informatik.continuousvoice.services.sound; // w w w . jav a 2 s. c om import java.io.File; public interface IRecorder { /* * Workflow: * 1 start recorder * 2 stop or split and get file * 3 shutdown recorder */ public void initialize(); /** * Shuts down this recorder. You have to call initialize again if you plan to continue. * @return the last file. */ public void shutdown(); public void startRecording(); public File stopRecording(); /** * Stops the current recorder, releases and returns the file but keeps on * recording to a new file until terminate() or split() is called. * * @return the recorded file */ public File splitRecording(); public boolean isRecording(); }