AudioTrack.StreamEventCallback.OnTearDown(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 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.
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.