Android.Media.MediaCodec.Reset Method
Returns the codec to its initial (Initialized) state.

Syntax

[Android.Runtime.Register("reset", "()V", "")]
public void Reset ()

Exceptions

TypeReason
!:NoType:android/media/MediaCodec$CodecException;Href=../../../reference/android/media/MediaCodec.CodecException.htmlif an unrecoverable error has occured and the codec could not be reset.
Java.Lang.IllegalStateExceptionif in the Uninitialized state.

Remarks

Returns the codec to its initial (Initialized) state. Call this if an NoType:android/media/MediaCodec$CodecException;Href=../../../reference/android/media/MediaCodec.CodecException.html#isRecoverable() error has occured to reset the codec to its initial state after creation.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16