次の方法で共有


MediaDrm.ErrorCodes.ErrorInitData Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.DrmErrorCode enum directly instead of this field.

The init data parameter passed to MediaDrm#getKeyRequest is empty or invalid.

[Android.Runtime.Register("ERROR_INIT_DATA", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.DrmErrorCode enum directly instead of this field.", true)]
public const Android.Media.DrmErrorCode ErrorInitData = 15;
[<Android.Runtime.Register("ERROR_INIT_DATA", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.DrmErrorCode enum directly instead of this field.", true)>]
val mutable ErrorInitData : Android.Media.DrmErrorCode

Field Value

Value = 15
Attributes

Remarks

The init data parameter passed to MediaDrm#getKeyRequest is empty or invalid.

Init data is typically obtained from MediaExtractor#getPsshInfo() or MediaExtractor#getDrmInitData(). Check with the MediaDrm plugin vendor for the expected init data format.

Java documentation for android.media.MediaDrm.ErrorCodes.ERROR_INIT_DATA.

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