# DrmStore.DrmObjectType

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# DrmObjectType

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/drm/DrmStore.DrmObjectType "View this page in Java")  

```
open class DrmObjectType
```

|---|--------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                           ||
| ↳ | [android.drm.DrmStore.DrmObjectType](https://developer.android.com/reference/kotlin/android/drm/DrmStore.DrmObjectType#) |

*** ** * ** ***

| **This class was deprecated in API level 30.**
|
| Deprecated in Java.

Defines DRM object types.

## Summary

|                                                                                                                     Constants                                                                                                                      ||
|----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [CONTENT](https://developer.android.com/reference/kotlin/android/drm/DrmStore.DrmObjectType#CONTENT:kotlin.Int) A rights-protected file object type.             |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RIGHTS_OBJECT](https://developer.android.com/reference/kotlin/android/drm/DrmStore.DrmObjectType#RIGHTS_OBJECT:kotlin.Int) A rights information object type.    |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TRIGGER_OBJECT](https://developer.android.com/reference/kotlin/android/drm/DrmStore.DrmObjectType#TRIGGER_OBJECT:kotlin.Int) A trigger information object type. |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [UNKNOWN](https://developer.android.com/reference/kotlin/android/drm/DrmStore.DrmObjectType#UNKNOWN:kotlin.Int) An unknown object type.                          |

|                                                       Public constructors                                                        ||
|-------------------------------------------------------------------------------------------------------------------------------|---|
| [DrmObjectType](https://developer.android.com/reference/kotlin/android/drm/DrmStore.DrmObjectType#DrmObjectType())`()` <br /> |

## Constants

### CONTENT

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val CONTENT: Int
```

**Deprecated:** *Deprecated in Java.*

A rights-protected file object type.  

    Value: 1

### RIGHTS_OBJECT

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val RIGHTS_OBJECT: Int
```

**Deprecated:** *Deprecated in Java.*

A rights information object type.  

    Value: 2

### TRIGGER_OBJECT

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val TRIGGER_OBJECT: Int
```

**Deprecated:** *Deprecated in Java.*

A trigger information object type.  

    Value: 3

### UNKNOWN

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val UNKNOWN: Int
```

**Deprecated:** *Deprecated in Java.*

An unknown object type.  

    Value: 0

## Public constructors

### DrmObjectType

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
DrmObjectType()
```

**Deprecated:** *This class should have been an interface instead. The default constuctor should have not been exposed.*