다음을 통해 공유


AudioTrack.StreamEventCallback.OnTearDown(AudioTrack) Method

Definition

Called when an offloaded track is no longer valid and has been discarded by the system.

[Android.Runtime.Register("onTearDown", "(Landroid/media/AudioTrack;)V", "GetOnTearDown_Landroid_media_AudioTrack_Handler", ApiSince=29)]
public virtual void OnTearDown (Android.Media.AudioTrack track);
[<Android.Runtime.Register("onTearDown", "(Landroid/media/AudioTrack;)V", "GetOnTearDown_Landroid_media_AudioTrack_Handler", ApiSince=29)>]
abstract member OnTearDown : Android.Media.AudioTrack -> unit
override this.OnTearDown : Android.Media.AudioTrack -> unit

Parameters

track
AudioTrack

the AudioTrack on which the event happened.

Attributes

Remarks

Called when an offloaded track is no longer valid and has been discarded by the system. An example of this happening is when an offloaded track has been paused too long, and gets invalidated by the system to prevent any other offload.

Java documentation for android.media.AudioTrack.StreamEventCallback.onTearDown(android.media.AudioTrack).

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