MediaCodec.Reset 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.
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.