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.RightsStatus\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\nRightsStatus\n============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/drm/DrmStore.RightsStatus \"View this page in Java\") \n\n```\nopen class RightsStatus\n```\n\n|---|----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.drm.DrmStore.RightsStatus](#) |\n\n*** ** * ** ***\n\n| **This class was deprecated in API level 30.**\n|\n| Deprecated in Java.\n\nDefines status notifications for digital rights.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RIGHTS_EXPIRED](#RIGHTS_EXPIRED:kotlin.Int) The digital rights have expired. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RIGHTS_INVALID](#RIGHTS_INVALID:kotlin.Int) The digital rights are invalid. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RIGHTS_NOT_ACQUIRED](#RIGHTS_NOT_ACQUIRED:kotlin.Int) The digital rights have not been acquired for the rights-protected content. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RIGHTS_VALID](#RIGHTS_VALID:kotlin.Int) The digital rights are valid. |\n\n| Public constructors ||\n|--------------------------------------------|---|\n| [RightsStatus](#RightsStatus())`()` \u003cbr /\u003e |\n\nConstants\n---------\n\n### RIGHTS_EXPIRED\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val RIGHTS_EXPIRED: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nThe digital rights have expired. \n\n Value: 2\n\n### RIGHTS_INVALID\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val RIGHTS_INVALID: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nThe digital rights are invalid. \n\n Value: 1\n\n### RIGHTS_NOT_ACQUIRED\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val RIGHTS_NOT_ACQUIRED: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nThe digital rights have not been acquired for the rights-protected content. \n\n Value: 3\n\n### RIGHTS_VALID\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val RIGHTS_VALID: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nThe digital rights are valid. \n\n Value: 0\n\nPublic constructors\n-------------------\n\n### RightsStatus\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nRightsStatus()\n```\n\n**Deprecated:** *This class should have been an interface instead. The default constuctor should have not been exposed.*"]]