public void resumeRecording ( ) { if ( currentAudioState . get ( ) == PAUSED_STATE ) { recordingStartTimeMillis = System . currentTimeMillis ( ) ; currentAudioState . getAndSet ( RECORDING_STATE ) ; onTimeCompletedTimer = new Timer ( true ) ; onTimeCompletionTimerTask = new MaxTimeTimerTask ( ) ; onTimeCompletedTimer . schedule ( onTimeCompletionTimerTask , remainingMaxTimeInMillis ) ; } else { Log . w ( TAG , "Audio recording is not paused" ) ; } }
Resumes the audio recording . Does nothing if the recorder is in a non - recording state .