Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-07-17 UTC.
[null,null,["Last updated 2025-07-17 UTC."],[],[],null,["# AdPlaybackState.AdState\n=======================\n\nArtifact: [androidx.media3:media3-common](/jetpack/androidx/releases/media3) \n[View Source](https://cs.android.com/search?q=file:androidx/media3/common/AdPlaybackState.java+class:androidx.media3.common.AdPlaybackState.AdState)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/media3/common/AdPlaybackState.AdState \"View this page in Java\")\n\n\n```\n@Documented\n@Retention(value = RetentionPolicy.SOURCE)\n@Target(value = )\n@IntDef(value = )\nannotation AdPlaybackState.AdState\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nRepresents the state of an ad in an ad group. One of [AD_STATE_UNAVAILABLE](/reference/kotlin/androidx/media3/common/AdPlaybackState#AD_STATE_UNAVAILABLE()), [AD_STATE_AVAILABLE](/reference/kotlin/androidx/media3/common/AdPlaybackState#AD_STATE_AVAILABLE()), [AD_STATE_SKIPPED](/reference/kotlin/androidx/media3/common/AdPlaybackState#AD_STATE_SKIPPED()), [AD_STATE_PLAYED](/reference/kotlin/androidx/media3/common/AdPlaybackState#AD_STATE_PLAYED()) or [AD_STATE_ERROR](/reference/kotlin/androidx/media3/common/AdPlaybackState#AD_STATE_ERROR())."]]