Added in API level 11
Deprecated in API level 30

DrmStore.RightsStatus


public static class DrmStore.RightsStatus
extends Object

java.lang.Object
   ↳ android.drm.DrmStore.RightsStatus


Defines status notifications for digital rights.

Summary

Constants

int RIGHTS_EXPIRED

The digital rights have expired.

int RIGHTS_INVALID

The digital rights are invalid.

int RIGHTS_NOT_ACQUIRED

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

int RIGHTS_VALID

The digital rights are valid.

Public constructors

RightsStatus()

This constructor is deprecated. This class should have been an interface instead. The default constuctor should have not been exposed.

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

RIGHTS_EXPIRED

Added in API level 11
public static final int RIGHTS_EXPIRED

The digital rights have expired.

Constant Value: 2 (0x00000002)

RIGHTS_INVALID

Added in API level 11
public static final int RIGHTS_INVALID

The digital rights are invalid.

Constant Value: 1 (0x00000001)

RIGHTS_NOT_ACQUIRED

Added in API level 11
public static final int RIGHTS_NOT_ACQUIRED

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

Constant Value: 3 (0x00000003)

RIGHTS_VALID

Added in API level 11
public static final int RIGHTS_VALID

The digital rights are valid.

Constant Value: 0 (0x00000000)

Public constructors

RightsStatus

Added in API level 11
public RightsStatus ()

This constructor is deprecated.
This class should have been an interface instead. The default constuctor should have not been exposed.