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
final static int getCodecCount()
Count the number of available codecs.
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