Android Guides | Samples

Android.Media.AudioTrack.IOnPlaybackPositionUpdateListener

Interface definition for a callback to be invoked when the playback head position of an AudioTrack has reached a notification marker or has increased by a certain period.

See Also: AudioTrack+IOnPlaybackPositionUpdateListener

Syntax

[Android.Runtime.Register("android/media/AudioTrack$OnPlaybackPositionUpdateListener", "", "Android.Media.AudioTrack/IOnPlaybackPositionUpdateListenerInvoker")]
public interface AudioTrack.IOnPlaybackPositionUpdateListener : IJavaObject, IDisposable

Remarks

Interface definition for a callback to be invoked when the playback head position of an AudioTrack has reached a notification marker or has increased by a certain period.

[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.AudioTrack.IOnPlaybackPositionUpdateListener are listed below.

Public Methods

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