AudioTrack.StreamEventCallback.OnPresentationEnded(AudioTrack) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when all the buffers of an offloaded track that were queued in the audio system (e.
[Android.Runtime.Register("onPresentationEnded", "(Landroid/media/AudioTrack;)V", "GetOnPresentationEnded_Landroid_media_AudioTrack_Handler", ApiSince=29)]
public virtual void OnPresentationEnded (Android.Media.AudioTrack track);
[<Android.Runtime.Register("onPresentationEnded", "(Landroid/media/AudioTrack;)V", "GetOnPresentationEnded_Landroid_media_AudioTrack_Handler", ApiSince=29)>]
abstract member OnPresentationEnded : Android.Media.AudioTrack -> unit
override this.OnPresentationEnded : Android.Media.AudioTrack -> unit
Parameters
- track
- AudioTrack
the AudioTrack
on which the event happened.
- Attributes
Remarks
Called when all the buffers of an offloaded track that were queued in the audio system (e.g. the combination of the Android audio framework and the device's audio hardware) have been played after AudioTrack#stop()
has been called.
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.