# BindFlag

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/BindFlag.java+class:androidx.media3.test.utils.BindFlag)

*** ** * ** ***


```
@Documented
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = ElementType.FIELD)
@Keep
@UnstableApi
public annotation BindFlag
```

<br />

*** ** * ** ***

Binds a boolean test parameter field to a Media3 feature flag.

When used in conjunction with `https://developer.android.com/reference/androidx/media3/test/utils/Media3FlagsRule`, the rule will automatically enable or disable the specified flag before each test based on the field's value.

## Summary

| ### Public methods |
|---|---|
| `abstract int` | `@https://developer.android.com/reference/androidx/media3/common/Flags.Flag https://developer.android.com/reference/androidx/media3/test/utils/BindFlag#value()()` The `https://developer.android.com/reference/androidx/media3/common/Flags.Flag` identifier. |

## Public methods

### value

```
@Flags.Flag
public abstract int value()
```

The `https://developer.android.com/reference/androidx/media3/common/Flags.Flag` identifier.