Deprecated: This class should have been an interface instead. The default constuctor should have not been exposed.
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-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# DrmStore.Playback\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nPlayback\n========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/drm/DrmStore.Playback \"View this page in Java\") \n\n```\nopen class Playback\n```\n\n|---|------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.drm.DrmStore.Playback](#) |\n\n*** ** * ** ***\n\n| **This class was deprecated in API level 30.**\n|\n| Deprecated in Java.\n\nDefines playback states for content.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [PAUSE](#PAUSE:kotlin.Int) Playback paused. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RESUME](#RESUME:kotlin.Int) Playback resumed. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [START](#START:kotlin.Int) Playback started. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [STOP](#STOP:kotlin.Int) Playback stopped. |\n\n| Public constructors ||\n|------------------------------------|---|\n| [Playback](#Playback())`()` \u003cbr /\u003e |\n\nConstants\n---------\n\n### PAUSE\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val PAUSE: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nPlayback paused. \n\n Value: 2\n\n### RESUME\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val RESUME: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nPlayback resumed. \n\n Value: 3\n\n### START\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val START: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nPlayback started. \n\n Value: 0\n\n### STOP\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val STOP: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nPlayback stopped. \n\n Value: 1\n\nPublic constructors\n-------------------\n\n### Playback\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nPlayback()\n```\n\n**Deprecated:** *This class should have been an interface instead. The default constuctor should have not been exposed.*"]]