MediaCodec.Release 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.
Free up resources used by the codec instance.
[Android.Runtime.Register("release", "()V", "")]
public void Release ();
[<Android.Runtime.Register("release", "()V", "")>]
member this.Release : unit -> unit
- Attributes
Remarks
Free up resources used by the codec instance.
Make sure you call this when you're done to free up any opened component instance instead of relying on the garbage collector to do this for you at some point in the future.
Java documentation for android.media.MediaCodec.release()
.
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.