# NalUnitUtil.H265ProfileTierLevelsAndIndices

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

*** ** * ** ***

<br />

```
public final class NalUnitUtil.H265ProfileTierLevelsAndIndices
```

<br />

*** ** * ** ***

Holds a list of H.265 profile_tier_level()s and a corresponding list of indices.

## Summary

| ### Public fields |
|---|---|
| `final int[]` | `https://developer.android.com/reference/androidx/media3/container/NalUnitUtil.H265ProfileTierLevelsAndIndices#indices()` The list of indices to the `profileTierLevels`. |
| `final https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/androidx/media3/container/NalUnitUtil.H265ProfileTierLevel>` | `https://developer.android.com/reference/androidx/media3/container/NalUnitUtil.H265ProfileTierLevelsAndIndices#profileTierLevels()` The list of profile_tier_level()s that can be referenced by each layer. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/container/NalUnitUtil.H265ProfileTierLevelsAndIndices#H265ProfileTierLevelsAndIndices(java.util.List<androidx.media3.container.NalUnitUtil.H265ProfileTierLevel>,int[])( https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/androidx/media3/container/NalUnitUtil.H265ProfileTierLevel> profileTierLevels, int[] indices )` |

## Public fields

### indices

```
public final int[] indices
```

The list of indices to the `profileTierLevels`. For each layer available in the L-HEVC bitstream (identified by the layer ID in VPS), an index to the profileTierLevels list is set.

### profileTierLevels

```
public final ImmutableList<NalUnitUtil.H265ProfileTierLevel> profileTierLevels
```

The list of profile_tier_level()s that can be referenced by each layer.

## Public constructors

### H265ProfileTierLevelsAndIndices

```
public H265ProfileTierLevelsAndIndices(
    List<NalUnitUtil.H265ProfileTierLevel> profileTierLevels,
    int[] indices
)
```