Share via


AudioTrack.Pause Method

Definition

Pauses the playback of the audio data.

[Android.Runtime.Register("pause", "()V", "GetPauseHandler")]
public virtual void Pause ();
[<Android.Runtime.Register("pause", "()V", "GetPauseHandler")>]
abstract member Pause : unit -> unit
override this.Pause : unit -> unit
Attributes

Exceptions

Remarks

Pauses the playback of the audio data. Data that has not been played back will not be discarded. Subsequent calls to #play will play this data back. See #flush() to discard this data.

Java documentation for android.media.AudioTrack.pause().

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