Udostępnij za pośrednictwem


MediaCodec.Reset Method

Definition

Returns the codec to its initial (Uninitialized) state.

[Android.Runtime.Register("reset", "()V", "")]
public void Reset ();
[<Android.Runtime.Register("reset", "()V", "")>]
member this.Reset : unit -> unit
Attributes

Exceptions

if an unrecoverable error has occured and the codec could not be reset.

if in the Released state.

Remarks

Returns the codec to its initial (Uninitialized) state.

Call this if an MediaCodec.CodecException#isRecoverable unrecoverable error has occured to reset the codec to its initial state after creation.

Java documentation for android.media.MediaCodec.reset().

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