AudioTrack.IOnPlaybackPositionUpdateListener AudioTrack.IOnPlaybackPositionUpdateListener Interface


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.Runtime.Register("android/media/AudioTrack$OnPlaybackPositionUpdateListener", "", "Android.Media.AudioTrack/IOnPlaybackPositionUpdateListenerInvoker", ApiSince=3)]
public interface AudioTrack.IOnPlaybackPositionUpdateListener : Android.Runtime.IJavaObject, IDisposable
type AudioTrack.IOnPlaybackPositionUpdateListener = interface
    interface IJavaObject
    interface IDisposable


Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.


OnMarkerReached(AudioTrack) OnMarkerReached(AudioTrack)

Called on the listener to notify it that the previously set marker has been reached by the playback head.

OnPeriodicNotification(AudioTrack) OnPeriodicNotification(AudioTrack)

Called on the listener to periodically notify it that the playback head has reached a multiple of the notification period.


Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to