Added in API level 11
Deprecated in API level 30

RightsStatus


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

Defines status notifications for digital rights.

Summary

Constants
static Int

The digital rights have expired.

static Int

The digital rights are invalid.

static Int

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

static Int

The digital rights are valid.

Public constructors

Constants

RIGHTS_EXPIRED

Added in API level 11
static val RIGHTS_EXPIRED: Int

Deprecated: Deprecated in Java.

The digital rights have expired.

Value: 2

RIGHTS_INVALID

Added in API level 11
static val RIGHTS_INVALID: Int

Deprecated: Deprecated in Java.

The digital rights are invalid.

Value: 1

RIGHTS_NOT_ACQUIRED

Added in API level 11
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
static val RIGHTS_VALID: Int

Deprecated: Deprecated in Java.

The digital rights are valid.

Value: 0

Public constructors

RightsStatus

Added in API level 11
RightsStatus()

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