# UnsupportedBrandsSniffFailure

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

*** ** * ** ***

<br />

```
@UnstableApi
public final class UnsupportedBrandsSniffFailure implements SniffFailure
```

<br />

*** ** * ** ***

A `https://developer.android.com/reference/androidx/media3/extractor/SniffFailure` indicating none of the brands declared in the `ftyp` box of the MP4 file are supported (see ISO 14496-12:2012 section 4.3).

## Summary

| ### Public fields |
|---|---|
| `final https://guava.dev/releases/snapshot-android/api/docs/com/google/common/primitives/ImmutableIntArray.html` | `https://developer.android.com/reference/androidx/media3/extractor/mp4/UnsupportedBrandsSniffFailure#compatibleBrands()` The `compatible_brands` list from the `ftyp` box. |
| `final int` | `https://developer.android.com/reference/androidx/media3/extractor/mp4/UnsupportedBrandsSniffFailure#majorBrand()` The `major_brand` from the `ftyp` box. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/extractor/mp4/UnsupportedBrandsSniffFailure#UnsupportedBrandsSniffFailure(int,int[])( int majorBrand, @https://developer.android.com/reference/androidx/annotation/Nullable int[] compatibleBrands )` |

| ### Public methods |
|---|---|
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/extractor/mp4/UnsupportedBrandsSniffFailure#toString()()` |

## Public fields

### compatibleBrands

```
public final ImmutableIntArray compatibleBrands
```

The `compatible_brands` list from the `ftyp` box.

### majorBrand

```
public final int majorBrand
```

The `major_brand` from the `ftyp` box.

## Public constructors

### UnsupportedBrandsSniffFailure

```
public UnsupportedBrandsSniffFailure(
    int majorBrand,
    @Nullable int[] compatibleBrands
)
```

## Public methods

### toString

```
public String toString()
```