Android Guides | Samples

Android.Media.AudioRecord.IOnRecordPositionUpdateListener

Interface definition for a callback to be invoked when an AudioRecord has reached a notification marker set by AudioRecord.SetNotificationMarkerPosition(Int32) or for periodic updates on the progress of the record head, as set by AudioRecord.SetPositionNotificationPeriod(Int32).

See Also: AudioRecord+IOnRecordPositionUpdateListener

Syntax

[Android.Runtime.Register("android/media/AudioRecord$OnRecordPositionUpdateListener", "", "Android.Media.AudioRecord/IOnRecordPositionUpdateListenerInvoker")]
public interface AudioRecord.IOnRecordPositionUpdateListener : IJavaObject, IDisposable

Remarks

Interface definition for a callback to be invoked when an AudioRecord has reached a notification marker set by AudioRecord.SetNotificationMarkerPosition(Int32) or for periodic updates on the progress of the record head, as set by AudioRecord.SetPositionNotificationPeriod(Int32).

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3

The members of Android.Media.AudioRecord.IOnRecordPositionUpdateListener are listed below.

Public Methods

OnMarkerReached(AudioRecord)
Called on the listener to notify it that the previously set marker has been reached by the recording head.
OnPeriodicNotification(AudioRecord)
Called on the listener to periodically notify it that the record head has reached a multiple of the notification period.