다음을 통해 공유


MediaParser.SampleFlagHasSupplementalData Field

Definition

Caution

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

Indicates that the sample has supplemental data.

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

Field Value

Value = 268435456
Attributes

Remarks

Indicates that the sample has supplemental data.

Samples will not have this flag set unless the "android.media.mediaparser.includeSupplementalData" parameter is set to true via #setParameter.

Samples with supplemental data have the following sample data format:

<ul> <li>If the "android.media.mediaparser.inBandCryptoInfo" parameter is set, all encryption information. <li>(4 bytes) sample_data_size: The size of the actual sample data, not including supplemental data or encryption information. <li>(sample_data_size bytes): The media sample data. <li>(remaining bytes) The supplemental data. </ul>

Java documentation for android.media.MediaParser.SAMPLE_FLAG_HAS_SUPPLEMENTAL_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