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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# DrmStore.DrmObjectType\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\nDrmObjectType\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/drm/DrmStore.DrmObjectType \"View this page in Java\") \n\n```\nopen class DrmObjectType\n```\n\n|---|-----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.drm.DrmStore.DrmObjectType](#) |\n\n*** ** * ** ***\n\n| **This class was deprecated in API level 30.**\n|\n| Deprecated in Java.\n\nDefines DRM object types.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [CONTENT](#CONTENT:kotlin.Int) A rights-protected file object type. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RIGHTS_OBJECT](#RIGHTS_OBJECT:kotlin.Int) A rights information object type. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TRIGGER_OBJECT](#TRIGGER_OBJECT:kotlin.Int) A trigger information object type. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [UNKNOWN](#UNKNOWN:kotlin.Int) An unknown object type. |\n\n| Public constructors ||\n|----------------------------------------------|---|\n| [DrmObjectType](#DrmObjectType())`()` \u003cbr /\u003e |\n\nConstants\n---------\n\n### CONTENT\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nA rights-protected file object type. \n\n Value: 1\n\n### RIGHTS_OBJECT\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val RIGHTS_OBJECT: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nA rights information object type. \n\n Value: 2\n\n### TRIGGER_OBJECT\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TRIGGER_OBJECT: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nA trigger information object type. \n\n Value: 3\n\n### UNKNOWN\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val UNKNOWN: Int\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nAn unknown object type. \n\n Value: 0\n\nPublic constructors\n-------------------\n\n### DrmObjectType\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nDrmObjectType()\n```\n\n**Deprecated:** *This class should have been an interface instead. The default constuctor should have not been exposed.*"]]