The members of Android.Media.AudioRecord are listed below.
See Also: Inherited members from Java.Lang.Object
Public Constructors
Protected Constructors
| | A constructor used when creating managed representations of JNI objects; called by the runtime. |
Public Properties
Protected Properties
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Public Methods
static | GetMinBufferSize(int, ChannelIn, Encoding) : intReturns the minimum buffer size required for the successful creation of an AudioRecord
object, in byte units. |
| Read(Java.Nio.ByteBuffer, int) : intReads audio data from the audio hardware for recording into a direct buffer. |
| Read(byte[], int, int) : intReads audio data from the audio hardware for recording into a buffer. |
| Read(short[], int, int) : intReads 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) : RecordStatusSets the marker position at which the listener is called, if set with
AudioRecord.SetRecordPositionUpdateListener(.IOnRecordPositionUpdateListener) or
AudioRecord.SetRecordPositionUpdateListener(.IOnRecordPositionUpdateListener, Android.OS.Handler). |
| SetPositionNotificationPeriod(int) : RecordStatusSets 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. |
Public Events