FileDocCategorySizeDatePackage
AudioRecord.javaAPI DocAndroid 5.1 API3073Sat Mar 14 14:09:42 GMT 2015android.media

AudioRecord

public class AudioRecord extends Object

Fields Summary
public static final int
ERROR
public static final int
ERROR_BAD_VALUE
public static final int
ERROR_INVALID_OPERATION
public static final int
RECORDSTATE_RECORDING
public static final int
RECORDSTATE_STOPPED
public static final int
STATE_INITIALIZED
public static final int
STATE_UNINITIALIZED
public static final int
SUCCESS
Constructors Summary
public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes)

 throw new RuntimeException("Stub!"); 
Methods Summary
protected voidfinalize()

 throw new RuntimeException("Stub!"); 
public intgetAudioFormat()

 throw new RuntimeException("Stub!"); 
public intgetAudioSessionId()

 throw new RuntimeException("Stub!"); 
public intgetAudioSource()

 throw new RuntimeException("Stub!"); 
public intgetChannelConfiguration()

 throw new RuntimeException("Stub!"); 
public intgetChannelCount()

 throw new RuntimeException("Stub!"); 
public static intgetMinBufferSize(int sampleRateInHz, int channelConfig, int audioFormat)

 throw new RuntimeException("Stub!"); 
public intgetNotificationMarkerPosition()

 throw new RuntimeException("Stub!"); 
public intgetPositionNotificationPeriod()

 throw new RuntimeException("Stub!"); 
public intgetRecordingState()

 throw new RuntimeException("Stub!"); 
public intgetSampleRate()

 throw new RuntimeException("Stub!"); 
public intgetState()

 throw new RuntimeException("Stub!"); 
public intread(byte[] audioData, int offsetInBytes, int sizeInBytes)

 throw new RuntimeException("Stub!"); 
public intread(short[] audioData, int offsetInShorts, int sizeInShorts)

 throw new RuntimeException("Stub!"); 
public intread(java.nio.ByteBuffer audioBuffer, int sizeInBytes)

 throw new RuntimeException("Stub!"); 
public voidrelease()

 throw new RuntimeException("Stub!"); 
public intsetNotificationMarkerPosition(int markerInFrames)

 throw new RuntimeException("Stub!"); 
public intsetPositionNotificationPeriod(int periodInFrames)

 throw new RuntimeException("Stub!"); 
public voidsetRecordPositionUpdateListener(android.media.AudioRecord$OnRecordPositionUpdateListener listener)

 throw new RuntimeException("Stub!"); 
public voidsetRecordPositionUpdateListener(android.media.AudioRecord$OnRecordPositionUpdateListener listener, android.os.Handler handler)

 throw new RuntimeException("Stub!"); 
public voidstartRecording()

 throw new RuntimeException("Stub!"); 
public voidstartRecording(android.media.MediaSyncEvent syncEvent)

 throw new RuntimeException("Stub!"); 
public voidstop()

 throw new RuntimeException("Stub!");