Android.Media.MediaCodec.Stop Method
Finish the decode/encode session, note that the codec instance remains active and ready to be MediaCodec.Started again.

Syntax

[Android.Runtime.Register("stop", "()V", "")]
public void Stop ()

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif in the Uninitialized state.

Remarks

Finish the decode/encode session, note that the codec instance remains active and ready to be MediaCodec.Started again. To ensure that it is available to other client call MediaCodec.Release and don't just rely on garbage collection to eventually do this for you.

[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