# DrmStore.RightsStatus

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)

# RightsStatus

*** ** * ** ***

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

```
open class RightsStatus
```

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

*** ** * ** ***

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

Defines status notifications for digital rights.

## Summary

|                                                                                                                                              Constants                                                                                                                                               ||
|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RIGHTS_EXPIRED](https://developer.android.com/reference/kotlin/android/drm/DrmStore.RightsStatus#RIGHTS_EXPIRED:kotlin.Int) The digital rights have expired.                                                      |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RIGHTS_INVALID](https://developer.android.com/reference/kotlin/android/drm/DrmStore.RightsStatus#RIGHTS_INVALID:kotlin.Int) The digital rights are invalid.                                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RIGHTS_NOT_ACQUIRED](https://developer.android.com/reference/kotlin/android/drm/DrmStore.RightsStatus#RIGHTS_NOT_ACQUIRED:kotlin.Int) The digital rights have not been acquired for the rights-protected content. |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RIGHTS_VALID](https://developer.android.com/reference/kotlin/android/drm/DrmStore.RightsStatus#RIGHTS_VALID:kotlin.Int) The digital rights are valid.                                                             |

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

## Constants

### RIGHTS_EXPIRED

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

```
static val RIGHTS_EXPIRED: Int
```

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

The digital rights have expired.  

    Value: 2

### RIGHTS_INVALID

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

```
static val RIGHTS_INVALID: Int
```

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

The digital rights are invalid.  

    Value: 1

### RIGHTS_NOT_ACQUIRED

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

```
static val RIGHTS_NOT_ACQUIRED: Int
```

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

The digital rights have not been acquired for the rights-protected content.  

    Value: 3

### RIGHTS_VALID

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

```
static val RIGHTS_VALID: Int
```

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

The digital rights are valid.  

    Value: 0

## Public constructors

### RightsStatus

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

```
RightsStatus()
```

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