语言

MediaDrm.ErrorCodes.ErrorInitData 字段

定义

注意

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

传递给 MediaDrm#getKeyRequest 的 init 数据参数为空或无效。

[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

字段值

Value = 15
特性

注解

传递给 MediaDrm#getKeyRequest 的 init 数据参数为空或无效。

Init 数据通常是从或从 MediaExtractor#getPsshInfo() 中 MediaExtractor#getDrmInitData()获取的。 请与 MediaDrm 插件供应商联系,了解预期的初始化数据格式。

Java文档android.media.MediaDrm.ErrorCodes.ERROR_INIT_DATA。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于