MediaDrm.ErrorCodes.ErrorInitData Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.