# DrmStore.Playback

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)

# Playback

*** ** * ** ***

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

```
open class Playback
```

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

*** ** * ** ***

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

Defines playback states for content.

## Summary

|                                                                                                  Constants                                                                                                   ||
|----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [PAUSE](https://developer.android.com/reference/kotlin/android/drm/DrmStore.Playback#PAUSE:kotlin.Int) Playback paused.    |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RESUME](https://developer.android.com/reference/kotlin/android/drm/DrmStore.Playback#RESUME:kotlin.Int) Playback resumed. |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [START](https://developer.android.com/reference/kotlin/android/drm/DrmStore.Playback#START:kotlin.Int) Playback started.   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [STOP](https://developer.android.com/reference/kotlin/android/drm/DrmStore.Playback#STOP:kotlin.Int) Playback stopped.     |

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

## Constants

### PAUSE

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

```
static val PAUSE: Int
```

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

Playback paused.  

    Value: 2

### RESUME

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

```
static val RESUME: Int
```

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

Playback resumed.  

    Value: 3

### START

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

```
static val START: Int
```

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

Playback started.  

    Value: 0

### STOP

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

```
static val STOP: Int
```

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

Playback stopped.  

    Value: 1

## Public constructors

### Playback

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

```
Playback()
```

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