# CompositionAssetInfo

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

*** ** * ** ***


```
@UnstableApi
class CompositionAssetInfo
```

<br />

*** ** * ** ***

Test assets that describe various `https://developer.android.com/reference/kotlin/androidx/media3/transformer/Composition` configurations.

## Summary

| ### Constants |
|---|---|
| `const https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#MULTI_SEQUENCE_CONFIGS()` |
| `const https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#MULTI_SEQUENCE_VIDEO_CONFIGS()` |
| `const https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#SINGLE_SEQUENCE_CONFIGS()` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#CompositionAssetInfo(androidx.media3.test.utils.SequenceAssetInfo,androidx.media3.test.utils.SequenceAssetInfo...)( sequence: https://developer.android.com/reference/kotlin/androidx/media3/test/utils/SequenceAssetInfo!, sequences: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/kotlin/androidx/media3/test/utils/SequenceAssetInfo!>! )` |

| ### Public functions |
|---|---|
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/kotlin/androidx/media3/common/Format!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#getAllVideoFormats()()` All `https://developer.android.com/reference/kotlin/androidx/media3/common/Format` instances that need to be decoded for this `https://developer.android.com/reference/kotlin/androidx/media3/transformer/Composition`. |
| `https://developer.android.com/reference/kotlin/androidx/media3/transformer/Composition!` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#getComposition()()` |
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#getExpectedVideoTimestampsUs()()` |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/Format?` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#getVideoEncoderInputFormat()()` All `https://developer.android.com/reference/kotlin/androidx/media3/common/Format` that needs to be encoded for this `https://developer.android.com/reference/kotlin/androidx/media3/transformer/Composition`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#hasVideo()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#toString()()` |

| ### Public properties |
|---|---|
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/kotlin/androidx/media3/test/utils/SequenceAssetInfo!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/test/utils/CompositionAssetInfo#sequences()` |

## Constants

### MULTI_SEQUENCE_CONFIGS

```
const val MULTI_SEQUENCE_CONFIGS: ImmutableList<CompositionAssetInfo!>!
```

### MULTI_SEQUENCE_VIDEO_CONFIGS

```
const val MULTI_SEQUENCE_VIDEO_CONFIGS: ImmutableList<CompositionAssetInfo!>!
```

### SINGLE_SEQUENCE_CONFIGS

```
const val SINGLE_SEQUENCE_CONFIGS: ImmutableList<CompositionAssetInfo!>!
```

## Public constructors

### CompositionAssetInfo

```
CompositionAssetInfo(
    sequence: SequenceAssetInfo!,
    sequences: Array<SequenceAssetInfo!>!
)
```

## Public functions

### getAllVideoFormats

```
fun getAllVideoFormats(): ImmutableList<Format!>!
```

All `https://developer.android.com/reference/kotlin/androidx/media3/common/Format` instances that need to be decoded for this `https://developer.android.com/reference/kotlin/androidx/media3/transformer/Composition`.

### getComposition

```
fun getComposition(): Composition!
```

### getExpectedVideoTimestampsUs

```
fun getExpectedVideoTimestampsUs(): ImmutableList<Long!>!
```

### getVideoEncoderInputFormat

```
fun getVideoEncoderInputFormat(): Format?
```

All `https://developer.android.com/reference/kotlin/androidx/media3/common/Format` that needs to be encoded for this `https://developer.android.com/reference/kotlin/androidx/media3/transformer/Composition`.

### hasVideo

```
fun hasVideo(): Boolean
```

### toString

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

## Public properties

### sequences

```
val sequences: ImmutableList<SequenceAssetInfo!>!
```