Język

MediaDrmStatusCode Enum

Definition

public enum MediaDrmStatusCode
type MediaDrmStatusCode = 
Inheritance
MediaDrmStatusCode

Fields

Name Value Description
Usable 0

The key is currently usable to decrypt media data

Android reference for android.media.MediaDrm.KeyStatus.STATUS_USABLE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Expired 1

The key is no longer usable to decrypt media data because its expiration time has passed.

Android reference for android.media.MediaDrm.KeyStatus.STATUS_EXPIRED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

OutputNotAllowed 2

The key is not currently usable to decrypt media data because its output requirements cannot currently be met.

Android reference for android.media.MediaDrm.KeyStatus.STATUS_OUTPUT_NOT_ALLOWED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Pending 3

The status of the key is not yet known and is being determined. The status will be updated with the actual status when it has been determined.

Android reference for android.media.MediaDrm.KeyStatus.STATUS_PENDING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InternalError 4

The key is not currently usable to decrypt media data because of an internal error in processing unrelated to input parameters. This error is not actionable by an app.

Android reference for android.media.MediaDrm.KeyStatus.STATUS_INTERNAL_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UsableInFuture 5

The key is not yet usable to decrypt media because the start time is in the future. The key will become usable when its start time is reached.

Android reference for android.media.MediaDrm.KeyStatus.STATUS_USABLE_IN_FUTURE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to