AudioTrack.SetPlaybackPositionUpdateListener AudioTrack.SetPlaybackPositionUpdateListener Method

Definition

Overloads

SetPlaybackPositionUpdateListener(AudioTrack+IOnPlaybackPositionUpdateListener) SetPlaybackPositionUpdateListener(AudioTrack+IOnPlaybackPositionUpdateListener)

Sets the listener the AudioTrack notifies when a previously set marker is reached or for each periodic playback head position update.

SetPlaybackPositionUpdateListener(AudioTrack+IOnPlaybackPositionUpdateListener, Handler) SetPlaybackPositionUpdateListener(AudioTrack+IOnPlaybackPositionUpdateListener, Handler)

Sets the listener the AudioTrack notifies when a previously set marker is reached or for each periodic playback head position update.

SetPlaybackPositionUpdateListener(AudioTrack+IOnPlaybackPositionUpdateListener) SetPlaybackPositionUpdateListener(AudioTrack+IOnPlaybackPositionUpdateListener)

Sets the listener the AudioTrack notifies when a previously set marker is reached or for each periodic playback head position update.

[Android.Runtime.Register("setPlaybackPositionUpdateListener", "(Landroid/media/AudioTrack$OnPlaybackPositionUpdateListener;)V", "GetSetPlaybackPositionUpdateListener_Landroid_media_AudioTrack_OnPlaybackPositionUpdateListener_Handler")]
public virtual void SetPlaybackPositionUpdateListener (Android.Media.AudioTrack.IOnPlaybackPositionUpdateListener listener);
abstract member SetPlaybackPositionUpdateListener : Android.Media.AudioTrack.IOnPlaybackPositionUpdateListener -> unit
override this.SetPlaybackPositionUpdateListener : Android.Media.AudioTrack.IOnPlaybackPositionUpdateListener -> unit

Parameters

Remarks

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.

SetPlaybackPositionUpdateListener(AudioTrack+IOnPlaybackPositionUpdateListener, Handler) SetPlaybackPositionUpdateListener(AudioTrack+IOnPlaybackPositionUpdateListener, Handler)

Sets the listener the AudioTrack notifies when a previously set marker is reached or for each periodic playback head position update.

[Android.Runtime.Register("setPlaybackPositionUpdateListener", "(Landroid/media/AudioTrack$OnPlaybackPositionUpdateListener;Landroid/os/Handler;)V", "GetSetPlaybackPositionUpdateListener_Landroid_media_AudioTrack_OnPlaybackPositionUpdateListener_Landroid_os_Handler_Handler")]
public virtual void SetPlaybackPositionUpdateListener (Android.Media.AudioTrack.IOnPlaybackPositionUpdateListener listener, Android.OS.Handler handler);
abstract member SetPlaybackPositionUpdateListener : Android.Media.AudioTrack.IOnPlaybackPositionUpdateListener * Android.OS.Handler -> unit
override this.SetPlaybackPositionUpdateListener : Android.Media.AudioTrack.IOnPlaybackPositionUpdateListener * Android.OS.Handler -> unit

Parameters

handler
Handler Handler

the Handler that will receive the event notification messages.

Remarks

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.

Applies to