Added in API level 11
Deprecated in API level 30

Action


open class Action
kotlin.Any
   ↳ android.drm.DrmStore.Action

Defines actions that can be performed on rights-protected content.

Summary

Constants
static Int

The default action.

static Int

The rights-protected content can be displayed.

static Int

The rights-protected content can be executed.

static Int

The rights-protected content can be set as output.

static Int

The rights-protected content can be played.

static Int

The rights-protected content can be previewed.

static Int

The rights-protected content can be set as a ringtone.

static Int

The rights-protected content can be transferred.

Public constructors

Constants

DEFAULT

Added in API level 11
static val DEFAULT: Int

Deprecated: Deprecated in Java.

The default action.

Value: 0

DISPLAY

Added in API level 11
static val DISPLAY: Int

Deprecated: Deprecated in Java.

The rights-protected content can be displayed.

Value: 7

EXECUTE

Added in API level 11
static val EXECUTE: Int

Deprecated: Deprecated in Java.

The rights-protected content can be executed.

Value: 6

OUTPUT

Added in API level 11
static val OUTPUT: Int

Deprecated: Deprecated in Java.

The rights-protected content can be set as output.

Value: 4

PLAY

Added in API level 11
static val PLAY: Int

Deprecated: Deprecated in Java.

The rights-protected content can be played.

Value: 1

PREVIEW

Added in API level 11
static val PREVIEW: Int

Deprecated: Deprecated in Java.

The rights-protected content can be previewed.

Value: 5

RINGTONE

Added in API level 11
static val RINGTONE: Int

Deprecated: Deprecated in Java.

The rights-protected content can be set as a ringtone.

Value: 2

TRANSFER

Added in API level 11
static val TRANSFER: Int

Deprecated: Deprecated in Java.

The rights-protected content can be transferred.

Value: 3

Public constructors

Action

Added in API level 11
Action()

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