# ExportException.CodecInfo

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/transformer/ExportException.CodecInfo "View this page in Java")

<br />

```
class ExportException.CodecInfo
```

<br />

*** ** * ** ***

The[Codec](https://developer.android.com/reference/kotlin/androidx/media3/transformer/Codec)details.

## Summary

|                                                                                                                                                                                                                                                                                                    ### Public constructors                                                                                                                                                                                                                                                                                                     |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [CodecInfo](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportException.CodecInfo#CodecInfo(java.lang.String,boolean,boolean,java.lang.String))`(` ` configurationFormat: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!,` ` isVideo: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` isDecoder: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`,` ` name: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?` `)` Creates an instance. |

|                                 ### Public functions                                 |
|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [toString](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportException.CodecInfo#toString())`()` |

|                                ### Public properties                                 |
|--------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [configurationFormat](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportException.CodecInfo#configurationFormat()) A string describing the format used to configure the underlying codec, for example, the value returned by[toString](https://developer.android.com/reference/kotlin/androidx/media3/common/Format#toString())or[toString](https://developer.android.com/reference/android/media/MediaFormat.html#toString()). |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)  | [isDecoder](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportException.CodecInfo#isDecoder()) Whether the[Codec](https://developer.android.com/reference/kotlin/androidx/media3/transformer/Codec)is used as a decoder.                                                                                                                                                                                                        |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)  | [isVideo](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportException.CodecInfo#isVideo()) Whether the[Codec](https://developer.android.com/reference/kotlin/androidx/media3/transformer/Codec)is configured for video.                                                                                                                                                                                                         |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`?` | [name](https://developer.android.com/reference/kotlin/androidx/media3/transformer/ExportException.CodecInfo#name()) The[Codec](https://developer.android.com/reference/kotlin/androidx/media3/transformer/Codec)name, or`null`if the[Codec](https://developer.android.com/reference/kotlin/androidx/media3/transformer/Codec)is not yet initialized.                                                                                                           |

## Public constructors

### CodecInfo

```
CodecInfo(
    configurationFormat: String!,
    isVideo: Boolean,
    isDecoder: Boolean,
    name: String?
)
```

Creates an instance.  

## Public functions

### toString

```
fun toString(): String!
```  

## Public properties

### configurationFormat

```
val configurationFormat: String!
```

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

### isDecoder

```
val isDecoder: Boolean
```

Whether the[Codec](https://developer.android.com/reference/kotlin/androidx/media3/transformer/Codec)is used as a decoder.  

### isVideo

```
val isVideo: Boolean
```

Whether the[Codec](https://developer.android.com/reference/kotlin/androidx/media3/transformer/Codec)is configured for video.  

### name

```
val name: String?
```

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