# ExportException.CodecInfo

Artifact: [androidx.media3:media3-transformer](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/transformer/ExportException.java+class:androidx.media3.transformer.ExportException.CodecInfo)

*** ** * ** ***


```
public final class ExportException.CodecInfo
```

<br />

*** ** * ** ***

The `https://developer.android.com/reference/androidx/media3/transformer/Codec` details.

## Summary

| ### Public fields |
|---|---|
| `final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/transformer/ExportException.CodecInfo#configurationFormat()` A string describing the format used to configure the underlying codec, for example, the value returned by `https://developer.android.com/reference/androidx/media3/common/Format#toString()` or `https://developer.android.com/reference/android/media/MediaFormat.html#toString()`. |
| `final boolean` | `https://developer.android.com/reference/androidx/media3/transformer/ExportException.CodecInfo#isDecoder()` Whether the `https://developer.android.com/reference/androidx/media3/transformer/Codec` is used as a decoder. |
| `final boolean` | `https://developer.android.com/reference/androidx/media3/transformer/ExportException.CodecInfo#isVideo()` Whether the `https://developer.android.com/reference/androidx/media3/transformer/Codec` is configured for video. |
| `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/transformer/ExportException.CodecInfo#name()` The `https://developer.android.com/reference/androidx/media3/transformer/Codec` name, or `null` if the `https://developer.android.com/reference/androidx/media3/transformer/Codec` is not yet initialized. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/transformer/ExportException.CodecInfo#CodecInfo(java.lang.String,boolean,boolean,java.lang.String)( https://developer.android.com/reference/java/lang/String.html configurationFormat, boolean isVideo, boolean isDecoder, @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html name )` Creates an instance. |

| ### Public methods |
|---|---|
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/transformer/ExportException.CodecInfo#toString()()` |

## Public fields

### configurationFormat

```
public final String configurationFormat
```

A string describing the format used to configure the underlying codec, for example, the value returned by `https://developer.android.com/reference/androidx/media3/common/Format#toString()` or `https://developer.android.com/reference/android/media/MediaFormat.html#toString()`.

### isDecoder

```
public final boolean isDecoder
```

Whether the `https://developer.android.com/reference/androidx/media3/transformer/Codec` is used as a decoder.

### isVideo

```
public final boolean isVideo
```

Whether the `https://developer.android.com/reference/androidx/media3/transformer/Codec` is configured for video.

### name

```
public final @Nullable String name
```

The `https://developer.android.com/reference/androidx/media3/transformer/Codec` name, or `null` if the `https://developer.android.com/reference/androidx/media3/transformer/Codec` is not yet initialized.

## Public constructors

### CodecInfo

```
public CodecInfo(
    String configurationFormat,
    boolean isVideo,
    boolean isDecoder,
    @Nullable String name
)
```

Creates an instance.

## Public methods

### toString

```
public String toString()
```