Android.Media.AudioRecord: Method Members

The methods of Android.Media.AudioRecord are listed below. For a list of all members, see the AudioRecord Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

static
GetMinBufferSize(int, ChannelIn, Encoding) : int
Returns the minimum buffer size required for the successful creation of an AudioRecord object, in byte units.
Read(Java.Nio.ByteBuffer, int) : int
Reads audio data from the audio hardware for recording into a direct buffer.
Read(byte[], int, int) : int
Reads audio data from the audio hardware for recording into a buffer.
Read(short[], int, int) : int
Reads audio data from the audio hardware for recording into a buffer.
ReadAsync(Java.Nio.ByteBuffer, int) : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
ReadAsync(byte[], int, int) : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
ReadAsync(short[], int, int) : System.Threading.Tasks.Task<int>
Documentation for this section has not yet been entered.
Release()
Releases the native AudioRecord resources.
SetNotificationMarkerPosition(int) : RecordStatus
Sets the marker position at which the listener is called, if set with AudioRecord.SetRecordPositionUpdateListener(.IOnRecordPositionUpdateListener) or AudioRecord.SetRecordPositionUpdateListener(.IOnRecordPositionUpdateListener, Android.OS.Handler).
SetPositionNotificationPeriod(int) : RecordStatus
Sets the period at which the listener is called, if set with AudioRecord.SetRecordPositionUpdateListener(.IOnRecordPositionUpdateListener) or AudioRecord.SetRecordPositionUpdateListener(.IOnRecordPositionUpdateListener, Android.OS.Handler).
SetRecordPositionUpdateListener(AudioRecord.IOnRecordPositionUpdateListener)
Sets the listener the AudioRecord notifies when a previously set marker is reached or for each periodic record head position update.
SetRecordPositionUpdateListener(AudioRecord.IOnRecordPositionUpdateListener, Android.OS.Handler)
Sets the listener the AudioRecord notifies when a previously set marker is reached or for each periodic record head position update.
StartRecording()
Starts recording from the AudioRecord instance.
StartRecording(MediaSyncEvent)
Starts recording from the AudioRecord instance when the specified synchronization event occurs on the specified audio session.
Stop()
Stops recording.