다음을 통해 공유


AudioTrack.SetPlaybackPositionUpdateListener Method

Definition

Overloads

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)

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

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);
[<Android.Runtime.Register("setPlaybackPositionUpdateListener", "(Landroid/media/AudioTrack$OnPlaybackPositionUpdateListener;)V", "GetSetPlaybackPositionUpdateListener_Landroid_media_AudioTrack_OnPlaybackPositionUpdateListener_Handler")>]
abstract member SetPlaybackPositionUpdateListener : Android.Media.AudioTrack.IOnPlaybackPositionUpdateListener -> unit
override this.SetPlaybackPositionUpdateListener : Android.Media.AudioTrack.IOnPlaybackPositionUpdateListener -> unit

Parameters

Attributes

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

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);
[<Android.Runtime.Register("setPlaybackPositionUpdateListener", "(Landroid/media/AudioTrack$OnPlaybackPositionUpdateListener;Landroid/os/Handler;)V", "GetSetPlaybackPositionUpdateListener_Landroid_media_AudioTrack_OnPlaybackPositionUpdateListener_Landroid_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

the Handler that will receive the event notification messages.

Attributes

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