to top
Android APIs
public final class

MediaCodecList

extends Object
java.lang.Object
   ↳ android.media.MediaCodecList

Class Overview

MediaCodecList class can be used to enumerate available codecs, find a codec supporting a given format and query the capabilities of a given codec.

Summary

Public Methods

? Examples
final static int getCodecCount()
Count the number of available codecs.

? Examples
final static MediaCodecInfo getCodecInfoAt(int index)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static final int getCodecCount ()

Added in API level 16

Count the number of available codecs.

public static final MediaCodecInfo getCodecInfoAt (int index)

Added in API level 16

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.